Hacker News new | ask | show | jobs
by thecodedmessage 910 days ago
Naming variables is so good that it should be mandatory in your programming language.
1 comments

Anonymous 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.