3 ms·
I fully agree. This reminds me of how some text books will teach people to write `a = 10` rather than `age = 10` for the sake of brevity. From that moment on, i
by ppeetteerr 8y ago
I fully agree. This reminds me of how some text books will teach people to write `a = 10` rather than `age = 10` for the sake of brevity. From that moment on, it becomes a habit to write code in a terse manner. It took me a few years and some good IDEs to no longer be afraid of names like `ageOfUser`/`age_of_user`.
- jghn 8y agoHopefully not modern textbooks. I know when I was in my CS program in the early 90s it seemed like that was transitioning. The older profs would teach us every trick in the book to reduce the actual file size & visual noise in our code. The younger profs would beat in our head to not do that.
- hinkley 8y agoEven in modern languages with traditions of verbosity, the moment they add generics they almost always go back to single letter names. Map<K,V> drives me nuts. Especially since K has to be comparable and/or hashable.
- Sohcahtoa82 8y ago> `ageOfUser`/`age_of_user`. I'd be going with `userAge` or `user_age` either way. :-P
- ppeetteerr 8y agoWe can't be friends :P