DEV Community

Discussion on: How to program better (or This is what is wrong with your code)

Collapse
 
leob profile image
leob • Edited

I would say that it's not "your code" that is "wrong" but the attitude of those people! 'Seniors' with that sort of attitude aren't worth being called senior IMO. If the only thing they can say "your code is wrong" and they aren't able to give a decent explanation then they're not worth their salt.

Besides, the verdict "wrong" is of course very ... wrong :-) ... criticism should always be constructive. If your company has that kind of employees then they've hired the wrong people, team players is what you need, not prima donnas.

Collapse
 
michaelcurrin profile image
Michael Currin

Indeed. Mentorship and code review and coaching are part of the required skills in my company to become a senior I guess because it makes the team stronger. Having a rockstar developer who can't teach anyone is going to cause a gap when they leave and no one knows how to maintain their code

Collapse
 
leob profile image
leob

Right, plus they can be toxic for their team if they have the wrong attitude ...