3 ms·
I think there's a valid argument to be made that it is at least poorly named, and that naming has resulted in people using it wrong, including among people who
by stormbrew 11y ago
I think there's a valid argument to be made that it is at least poorly named, and that naming has resulted in people using it wrong, including among people who teach the language and so compound the problem.
- arcticbull 11y agoAgreed, names are the first line of documentation. Having endl flush is like using single letter variable names, but maybe a bit worse since single letter variables make you go find where they were declared but this lulls you into a false sense of security. This violated the principal of least surprise enough that someone made a 10 minute long video on it :) It's really hard to blame the user this time.
- smitherfield 11y agoPeople not using descriptive names for the important stuff is probably my number one pet peeve. We're not on a VAX, bytes aren't precious, and we aren't naming terminal commands, keystrokes aren't either. And nowadays every editor has autocomplete, so there's really no excuse.
- arcticbull 11y agoThe great vowel shortage of the late 80s is finally behind us :)