3 ms·
Of course you can name the variable also, SPL give you another option.
by Judyrabbit 3y ago
Of course you can name the variable also, SPL give you another option.
- thecodedmessage 3y agoNaming 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.