| > Of course you can be nice, but then code and product quality would end up affected. Why? This attitude baffles me. You don't have to be a dick when reviewing someone's code, terrible or not. > The person being reviewed knows it's not personal It absolutely is personal if you make it personal, i.e. start personally insulting the author. "How could you be so stupid to write this this way?" "This is really idiotic code." "Sorry, this dumb way of doing things is dumb, and I don't approve of dumb things in my project." All of the above are personally insulting comments. You should not make comments like them if you value being civil. There are plenty of ways to reject code without being a complete dick. For example: "This is pretty neat, but I don't think it fits in here because _________" "I really appreciate the commit, but _________ doesn't quite work with _______ idea." "This is a great start. Could you change _____________ to meld better with ________?" All non-confrontational ways to say "sorry, this isn't good enough" while also offering positive feedback. |
Obviously being called dumb is insulting, but being treated like a baby is too.
What's so wrong with just saying
"This should be changed because ___"
"You should avoid doing something like this because __" ?