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

1

u/[deleted] Mar 08 '25

You can start a project more quickly by just throwing crap together and making it work with dynamic types, but by the second week you're already going to see an advantage to having static types.

No, you're making up excuses as to why you shouldn't need to learn to use static types. It's pretty obvious.

Where do you get the idea that people don't build large codebases in dynamically typed languages, or that they're thrown together haphazardly and don't get maintained? In all my years programming python I have never had a problem that would have been solved with static typing. 99% of your errors are going to be logic errors, 1% syntax errors. static types don't fix either one, they're just documentation that your compiler forces you to write for every little thing. Before programming Python I had 5 years experience with Java btw, so I went from static to dynamic typing and haven't looked back since.