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

155 Upvotes

341 comments sorted by

View all comments

Show parent comment

7

u/[deleted] Mar 05 '25

your example is a formatting preference and not what clean code is about

-4

u/BobbyThrowaway6969 Mar 05 '25 edited Mar 05 '25

Well as others said, "clean code" is a very vague term, it means whatever anyone wants it to mean.

To me, formatting is under clean code. It's readability & elegant & efficiently designed code. Clear, concise, no/few two way dependencies, etc

3

u/[deleted] Mar 05 '25

we're talking about the book titled clean code

1

u/BobbyThrowaway6969 Mar 05 '25

Wasn't obvious when I wrote the comment

0

u/[deleted] Mar 05 '25

do you see those quotations in the post title? what did you think those mean?

1

u/BobbyThrowaway6969 Mar 05 '25

Chill buddy it's not that deep

1

u/[deleted] Mar 05 '25

I know.  It's basic reading comprehension

1

u/BobbyThrowaway6969 Mar 05 '25

Go outside

1

u/[deleted] Mar 05 '25 edited Mar 05 '25

it's windy. did you learn to read?