3 ms·
Implicit declaration is bullshit. It allows new variables to accidentally be created out of typos. Sabre should have gone with var. Without knowledge of existi
by steve_taylor 6y ago
Implicit declaration is bullshit. It allows new variables to accidentally be created out of typos.
Sabre should have gone with var. Without knowledge of existing languages, the meaning of let isn’t exactly obvious.
- tines 6y agoI'd say that a knowledge of mathematics is where the meaning of "let" will most often come from. I'm sure we've all read things like "Let x be the speed of a train..."
- phabora 6y agoLet n be the number of comments about syntax in this thread and let total be the number of comments: n / total.
- postalrat 6y agolet num = 10 spot the typo