Over a million developers have joined DZone.

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

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!

agile ,code review ,software quality

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}