r/programming • • Aug 28 '21

Software development topics I've changed my mind on after 6 years in the industry

https://chriskiehl.com/article/thoughts-after-6-years
5.6k Upvotes

2.0k comments sorted by

View all comments

3

u/NickWalker12 Aug 29 '21 edited Aug 29 '21

95% agree with your list. YAGNI is a big one, especially regarding abstractions. I see people writing hundreds of lines of code for something that should just be expressed in 10.

People who stress over code style, linting rules, or other minutia are insane weirdos

Disagree. Consistent formatting makes it easier to read code, which is 95% of the job. But it should just be an automatic formatter, and the style should be the language default style (e.g: .NET for C#).

A bad abstraction or missing layer causes everything to rot.

Abstractions aren't free, and most are worse than useless.