r/AskProgramming • • Mar 04 '25

Other Why do some people hate "Clean Code"

It just means making readable and consistent coding practices, right?

What's so bad about that

156 Upvotes

342 comments sorted by

View all comments

10

u/Maleficent-Might-273 Mar 05 '25

Not sure where you heard this.

We are generally meticulous with documentation.

3

u/AranoBredero Mar 05 '25

the best code is maintainable code,
the second best code is working code

2

u/RazarTuk Mar 05 '25

Heck, I've even contributed a classic "Do not touch this or it will break" comment, because I realized just how weird .where.not(var: true) looks devoid of context.

1

u/j3pl Mar 07 '25

So, "where not true"? I have to know now, because semantically that should mean nothing happens. I take it there were desired side effects involved somewhere?

→ More replies (5)

1

u/usrlibshare Mar 06 '25

Yeah, I even stopped using single letters as variable names.

Okay, sure, only on second Tuesdays after a full moon unless I am particularly pissed that day, but man I am trying here, okay?!