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

Of course. Why change that for zero gain? Powershell does too.

Can you point to some research that scientifically proves that the use of dollar sign in variable names makes it harder to solve computer science problems?




1. Waste of time and mental cycles: forces the programmer to do the parser's job because the language designer was too lazy to build in the logic to recognize variables.

2. Carpal tunnel syndrome, especially on keyboards where "$" can only be reached via shift.


1. Personally I find it easier to read variable names prefixed with dollar signs, it differentiates variables from other symbols, which makes them very easy to find, especially now when many languages gives information overload by lots of type information etc. My eyes can scan code faster.

2. rebind your keyboard.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: