How would you deal with a developer who writes bad code?
Anonymous
I personally would offer advice and point at similar solutions. I would not be confrontational and sort it out at release time if it was really bad. Perhaps I might want to inform my manager but this is down to level of competence. Nobody is ever wrong in my book, it all boils down to experience.
Check out your Company Bowl for anonymous work chats.