Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.
Hope you enjoy the instance!
Follow the wormhole through a path of communities !webdev@programming.dev
The difference between the two seems different to what’s in the OP. Is there a typo here?
My reply is to a commenter who said they prefer
"${HOME}/docs"
over both options in the original image ("$HOME/docs"
or"$HOME"/docs
). Many people prefer to always include braces around the parameter name out of consistency, instead of only when they are required.My comment explained why my habit is to only include braces when they are necessary.