3 ms·
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 variabl
by fetbaffe 6y ago
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?
- ur-whale 6y ago1. 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.
- fetbaffe 6y ago1. 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.