3 ms·
Naming variables is so good that it should be mandatory in your programming language.
by thecodedmessage 3y ago
Naming variables is so good that it should be mandatory in your programming language.
- astrange 3y agoAnonymous variables can be pretty convenient, like $0 in Perl and point-free in Haskell. Difficult to add debug prints though. I also think it's bad to require explicitness when something's obvious - like if you have an array of `cats` then naming its iterator variable `cat` is a waste.