Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

DZ Discuss: How Do YOU Deal with Bad Code?

DZone's Guide to

DZ Discuss: How Do YOU Deal with Bad Code?

DZone wants to know how you've handled teammates' bad code on your own projects.

· Agile Zone
Free Resource

The Agile Zone is brought to you in partnership with Techtown Training. Learn how DevOps and SAFe® can be used either separately or in unison as a way to make your organization more efficient, more effective, and more successful in our SAFe® vs DevOps eBook.

After being told to comment our code and taught how to deal with a coworker's bad code, I wanted to know how often our users had to deal with that guy on their team who makes simple mistakes or makes your lives harder. Was it for a personal project or enterprise software? Did the suboptimal coder get better?

I also wanted to know what advice you'd give DZone members who are going through the same situation, to avoid any mistakes you may have made yourselves.

So let us know: how have you dealt with a teammate's bad code, and was the right way to go? Let us know in the comments!

Adopting a DevOps practice starts with understanding where you are in the implementation journey. Download the DevOps Transformation Roadmap, brought to you in partnership with Techtown Training

Topics:
agile ,code review ,software quality

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}