← Back to context

Comment by zahlman

4 days ago

> 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`).