11 ms·
I am sympathetic to the author's argument. Programmers should strive to write understandable code. However, I think you should also assume that people reading y
by greydius 11y ago
I am sympathetic to the author's argument. Programmers should strive to write understandable code. However, I think you should also assume that people reading your code are fluent in the language and its idioms. You wouldn't expect a novelist to write books at a first grade reading level just to appease people that haven't put forth the effort to learn the language beyond just the basics.
- reddit_clone 11y agoYes! I was scrolling down looking for this. Long long ago when I encountered the string copy idiom in C 'while (s++ = t++)' for the first time, it left me scratching my head for a bit. Then it becomes a part of your vocabulary. Native idioms make communication better. People often misunderstand 'basic' for 'simple'.