DEV Community

Discussion on: clean code is over rated

Collapse
 
stevenavelino24 profile image
Steven Avelino

Sure you can write dirty code. Duplicating pieces, not writing comments or tests or simply not optimising what you're producing.

But ultimately, you'll hate yourself, or will be hated by someone else for doing that when you'll have to go back to the projects where you didn't code well because you were lazy while coding it.
Do we all code dirty and bad code ? Yes, all of us, we're not perfect. Am I proud when I do ? Not at all. I didn't learn things for years to make the exact same code I could have produced years ago.