Over a million developers have joined DZone.

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

Reduce testing time & get feedback faster through automation. Read the Benefits of Parallel Testing, brought to you in partnership with Sauce Labs.

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!

The Agile Zone is brought to you in partnership with Sauce Labs. Discover how to optimize your DevOps workflows with our cloud-based automated testing infrastructure.

agile,code review,software quality

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}