Comment by rendall

5 years ago

> hearing someone saying dirty code doesn't exist is really frustrating

Not sure why you're being downvoted, but as an unrelated aside, the quote you're responding to literally did not say this.

> that's why people bring up that book

I think the point is that following that book does not really lead to Clean Code.

> I think the point is that following that book does not really lead to Clean Code.

And that is why I started saying "You can disagree over what exactly is clean code". Different projects have different requirements. Working on some casual website is not the same as working on a pacemaker firmware.

  • Yeah, I don't know that we're disagreeing here. For me, there's definitely good code and bad code. I read OP more as saying perfect is the enemy of good, not that all code is good code.

    I'd say if you want good code in your working environment, set up a process for requiring it. Automated testing and deployment, and code reviews would be the way to go. Reading Clean Code won't get you there.