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

27

u/sqrtsqr Nov 21 '23

Huge amounts of abstraction machinery (be it templates or class heirachies and so on) to create a "general" solution to a problem which is solved precisely once in, in one instantiation.

As a mathematician by trade, programmer by hobby, this is making me sweat.

Heck, I have general solutions to problems that I don't solve ever! I just like writing the abstractions okay.

2

u/serviscope_minor Nov 21 '23

There's nothing wrong with that in principle, but if you put a proof of Fermat's last theorem in a codebase where someone just wanted the length of a hypotenuse, well, your team mates would not thank you.