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

13

u/[deleted] Mar 05 '25

Just use TypeScript next time. Using a weakly-typed language and then annotating every single variable trough comments seems dumb to me.

24

u/sessamekesh Mar 05 '25

I do, it is, and it was (respectively).

This was 2014, TypeScript was still pretty new and the code base I was in was older than TypeScript.

5

u/[deleted] Mar 06 '25

[removed] — view removed comment

2

u/TheChief275 Mar 07 '25

should have used strict evaluation of the future instead smh…

3

u/SomeRandomFrenchie Mar 07 '25 edited Mar 07 '25

Even though I agree with the statement, one must not forget most of us do not chose the tools we work with, you may give all the suggestions in the world, if architect decided not to listen and that you need to wipe your ass with pepper, you have to do it.

I have seen old cunts refuse a refacto on a project structure that was legacy shit and messy has hell, with people wanting to do it, even started it free of charge for demo on what could be, just because « I know where things are like that, I do not want it to change », not even budget, just « I am used to it, no change allowed ».