Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I don't use $ in programming except for string interpolation

... but the entire point of the "$JOB" etc. slang is that it's a string interpolation...



Not how I use it, string interpolation would be $"{job}"


That depends on the language. In unix shell,

  echo $JOB
and

  echo ${JOB}
are identical, though the latter is more flexible (Allowing eg. `echo ${JOB:-unemployment}` or `echo ${JOB}SUCKS`).




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: