DEV Community

Discussion on: Clean code, dirty code, human code

Collapse
 
hasii2011 profile image
Humberto A Sanchez II

The whole "a colleague wrote some code that you didn’t like so you rewrote it" is something I have seen numerous times in my career. As a team lead, I struggle with explain to the team member why is is NOT a good idea. Don't get me started on the numerous example of "clever" code that I have had to review.

Collapse
 
d_ir profile image
Daniel Irvine 🏳️‍🌈

Yep, I did it. Hopefully we all do it just once and never repeat the same mistake again 🤣