DEV Community

Discussion on: What professionals think about Clean Code ?

Collapse
 
ssimontis profile image
Scott Simontis

I feel like poor management and morale is responsible for the ugliest code I have seen throughout my career. Clean code is all about consistency; as soon as most of the team is at the f*ck-it point, then everything tends to crumble really quickly. People may talk about fixing it later, but you're so glad to be done working on the dumpster fire of an application that it never happens. Consultants get brought in to fix the codebase and the process repeats, as they leave a bunch of half-assed kludges for the next development team to avoid for the next few months.

People need to be allowed to have a little pride in their code. Or at least I do. It's definitely a fine line, but if it feels like a punishment to be stuck in some crappy repository, the downward trend is likely to continue until it becomes abandonware.