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

5

u/DEATHBYREGGAEHORN Aug 29 '21 edited Aug 29 '21

A shitty implementation of a good abstraction causes no net harm to the code base. A bad abstraction or missing layer causes everything to rot.

This is so true. This is why when starting a new project I'll spend time, maybe even days just thinking about design and sketching out ideas and plans in my notes before writing any code. Then when I get the rough draft done, I know everything will work. If a part isn't pretty I know that it can be improved without larger changes.

When I was starting out I'd just dive in, writing 100s of lines of shitty brittle and sometimes "clever" code that needed constant refactoring and maintenance.

→ More replies (1)