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!