TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How would you handle pedantic code reviews?

8 pointsby thisiswronggggalmost 3 years ago
I&#x27;m in a SW team where I find myself spending time and energy in dealing with pedantic no-value commends in my PRs. Most of them coming from a certain colleague who is clearly insecure and not as competent as the rest of the team. So she is trying to hide that under various forms of busytalking and commends like the above.<p>The triviality and non-value of her commends is not disputable as I am not the only person that sees that and despite the &quot;rigor&quot; she misses obvious bugs (I left some in in the latest PR just to make sure).<p>So all in all she&#x27;s a no-value PITA. Despite that I&#x27;ve been kind and condescending so far but it&#x27;s starting getting on my nerves as I have more urgent things to do than pacify or comply with such commends (e.g. BusVehicle should be named CoachAutomobile).<p>How do you deal with similar cases? What do you suggest?

4 comments

sky-kedge0749almost 3 years ago
You should have the freedom to reject trivial, opinionated PR comments with a simple &quot;no thanks,&quot; no explanation needed. Your team should err on the site of supporting the PR as originally written. If you reject a ton of comments then the situation should resolve itself somehow, either she&#x27;ll stop making them, or it will take you minimal time to move past them, or she&#x27;ll complain to management and you can all discuss the situation together.<p>Don&#x27;t take it personally, don&#x27;t make it about her personally or about her feelings of security or her competency or whether she&#x27;s a PITA, definitely don&#x27;t intentionally leave test bugs in your code.
efortisalmost 3 years ago
If they are superficial or stylistic I simply make the changes without thinking it twice.<p>Also, you can ask them for a patch with the suggestions (instead of dealing with a bunch of comments).<p>To me the difficult ones are the bad suggestions. In those cases, tell them why you disagree, and if they don&#x27;t agree, ask them if they can commit their suggestions.
foxyvalmost 3 years ago
These used to bug me a LOT. But I quickly realized it takes me about 2 seconds to amend the PR and keep the team happy OR 10 hours to teach the person how to code like a &quot;10x PRO!&quot; I quickly realized that the real 10x pros just kinda go &quot;Eh sure, why not?&quot; make it work, and get the job done in record time.<p>Lately I spend a lot of time trying to get my ego out of my code. I let the new guys and gals spend time pissing in the soup. I just use whatever weird Lombok Module&#x2F;Code Standard&#x2F;Static Code Scanner&#x2F;New Library they choose and make it work one way or another. Then I look super cool when I download the source code for their new slick library and add a feature to cover a use case they are stuck on.
throwaway019254almost 3 years ago
If it&#x27;s something that takes me 10 seconds and doesn&#x27;t make anything worse then I just update the code.<p>If it&#x27;s something that will make stuff worse - I will explain why we should not do it.<p>If it&#x27;s a comment about formatting the code, I would add a linter&#x2F;prettier that will check&#x2F;format the code automatically. If your colleague wants to have different rules, they can update the formatter config.