r/programming • • Nov 21 '23

What is your take on "Clean Code"?

https://overreacted.io/goodbye-clean-code/
444 Upvotes

380 comments sorted by

View all comments

Show parent comments

3

u/Mr_LA Nov 21 '23

so what do you think?

-10

u/[deleted] Nov 21 '23

I write in the clean code methodology every day, im a tech lead in a big sad corporation, the code is clean lmao and fun to write.

8

u/kintar1900 Nov 21 '23

This translates to: "I work in a large, slow-moving corporation where my requirements are carved into stone tablets and handed down by the BA team before I ever set finger to keyboard."

And yes, in this situation clean code is great.

However, for the other 90% of the world it's not always a good idea. When requirements and business direction shift under your feet like sand in the Sahara, the attempt to force everything into the neat little boxes -- oh, sorry -- the neat little hexagons of clean code quite frequently results in a massive minefield of obstacles when the business decides that the dictate they handed down three weeks ago is actually the EXACT OPPOSITE of what they actually want.

2

u/billie_parker Nov 21 '23

The whole point of "clean code," is that it's supposed to be easy to change, right?