frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Coworker rejects PR (one month in) because it does not meet his standards

11•LandOfMightDev•1h ago•16 comments

Ask HN: Are the trades a safe career transition?

58•Rd6n6•1d ago•95 comments

Ask HN: Tips for transitioning from web development to embedded/firmware?

151•llmblockchain•5d ago•93 comments

Tell HN: Claude Opus 4.5 turns one year old today

4•zkldi•3h ago•0 comments

Ask HN: Is a college degree still necessary for a programmer?

4•vmuhammadsaid20•6h ago•14 comments

Ask HN: I have been unemployed for 2y. 15 years of experience, US. What to do?

742•LetThingsBeDiff•3d ago•853 comments

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

133•proberts•3d ago•177 comments

What is the likelihood LLMs exploited the learn software to verify their Riemann

2•rsoto2•8h ago•2 comments

Ask HN: Did Amazon Get Hacked?

3•lacoolj•10h ago•1 comments

Ask HN: What Are You Learning?

4•deepakkoli93•11h ago•10 comments

Ask HN: How likely are we to see a major quantum attack on modern crypto?

3•ijustlovemath•12h ago•3 comments

Ask HN: How are tech recruiters assessed on their recruiting skills?

2•_override•18h ago•2 comments

Tell HN: Google Earth now has 14 days weather forecast

2•szemy2•8h ago•0 comments

Are you clinging to the TUI to feel like a developer?

6•TomEleff•1d ago•16 comments

Ask HN: Is Anthropic being public better or worse for your org?

8•ares623•1d ago•11 comments

Tell HN: OpenRouter prompts to Minimax may have been read

75•dannyw•2d ago•11 comments

Ask HN: Where the company's employees launch the tools that Claude created

5•vmuhammadsaid20•1d ago•5 comments

Ask HN: Are startups today worth it even in a best case scenario?

6•enigmous_hippo•1d ago•5 comments

GitLab 19.6.0 is out and still vulnerable to Ruby2Shell and NGINX2Root

29•hoechst•4d ago•8 comments

Ask HN: Should Uber Ratings Decay over Time?

14•AB3TZ•3d ago•7 comments

Ask HN: Has Opus 5.5 Been Nerfed?

4•Adam-Hincu•18h ago•5 comments

Ask HN: Any actual balanced reviews of GTA 6?

13•tetris11•3d ago•26 comments

Does anybody read their emails anymore?

8•ky0ung•2d ago•28 comments

Ask HN: What's stopping us from putting agents in general purpose robots?

12•ex-aws-dude•3d ago•7 comments

Anthropic should give stock to Stack Overflow (and OpenAI too)

16•thetjmccarty•4d ago•6 comments

Ask HN: Where do you see Software in 5 years?

26•Odbyteusz•4d ago•36 comments

Ask HN: Why no AI-led memory vulns in Python?

11•uticus•4d ago•2 comments

You've reached the end!

Open in hackernews

Coworker rejects PR (one month in) because it does not meet his standards

11•LandOfMightDev•1h ago
just joined this new team about 1 year into their development. Demoed the work to the team about two weeks ago (half way in). Work is practically complete & runs well no issues. I create PR & assign the two PR reviewers (one my rank another a rank above me). one colleague (the one at my level) leaves some constructive comments no functional changes. The other colleague (one rank above me) says something equivalent to "does not meet our standards" "do not do x pattern since we have used y (which has a huge limitation)" to use Y pattern I would basically need to change most of the logic and it would be about 70% waste. I demoed my code with this pattern two weeks ago and there were no issues/comments from the team. The code is concise and easy to read. I had a call with the colleague and explained the code and why I used it, and showed him some other parts of the codebase where this pattern should be used, his only defense was that "it does not meet our standards because it uses X rather than y pattern, since we used y pattern in the past, we should only use y pattern" while x pattern is very similar only removing the limitation that was causing the code to be difficult to maintain etc. This "standard requirement" is written nowhere as a hard requirement and the codebase is barely one year old, with only one of the codebase founders still on the team.... I'm going to have a chat with the manager tomorrow morning.

Comments

AnimalMuppet•1h ago
His standards. That's different from our standards. If he's claiming our standards, the response is, show me the standard. Where is that written down?

If he's saying it doesn't meet his standards, and he's rejecting a PR for that reason... yeah, that's probably time to talk to the manager. That sounds pretty ridiculous.

LandOfMightDev•1h ago
i asked him for the SOP documentation, he said " there is none, but I'm the PR review so if I don't think it meets our standards ...." He also asked me how long I've been working on it (which he should know....) then after I told him, he said he can do it in one day. I explained the requirements are more complicated than he thinks but he said "well I could do it in one day". It cannot be done in one day, I asked him to show me a similar implementation and he could only find very simple implementations or implementations that he admits were not very good (20 column table & duplicate column values by design, switch with more than 50 cases.... This is the first time I've encountered someone like this...
bradknowles•1h ago
Tell him “Okay, then. You do it. In one day only.” And if he can’t, then that’s the time to talk to management.

But be prepared to lose. He sounds entrenched. And if they support him regardless, then you’re going to have to learn how to live with that.

idontwantthis•57m ago
OP, do not say this.
LandOfMightDev•51m ago
I definitely won't tell him to do it lol
LandOfMightDev•57m ago
the team is basically 6 devs, the dev manager & the project manager... idk things are going to be tough tomorrow. I knew the dev manager & he's pretty relaxed but the project manager will go nuts if we had to push the work out (bec the work i've been doing the last two sprints got rejected by that guy)... He is just one rank above me (like 2 yoe) so idk what's going to happen tomorrow...
idontwantthis•1h ago
It’s a blocker just like any other. Tell your manager why it isn’t finished.
LandOfMightDev•1h ago
what is the best way i can phrase it? like "Since I used pattern X, colleague abc will not approve the PR, I will need to re-do most of the code to use pattern Y, effectively putting me back to around 20-30% completion...?
idontwantthis•1h ago
Yeah your manager cares about what and when you can deliver so that makes sense. But also, are you not using AI? Would it take that long for Claude to redo it? Also it sounds like the other pattern is worse not just different so explain that to your manager and see if he agrees.
LandOfMightDev•53m ago
it is basically 74 requirements (about a paragraph each), DB schema, 2 web pages, and then all of the APIs. This colleague did not like my schema, so I need to redo the entire db & since my APIs relied on the db schema, those will all need to be changed too. The only part I can really keep are the web pages. I use AI like and check it manually & use my own designs etc. I can defend the code it's not like I just generated and threw it in a PR. I showed the db schema and proposed APIs to the team two weeks ago & everything was good & no problems. I even mentioned that to the reviewer and he just said "Probably no one was paying attention" LOL. He was on that call too.
tyingq•28m ago
Playing devil's advocate a little...a year in, I assume you would know that whatever your proposed schema was, that it was substantially different than the existing code. Even if it was better. I do get the frustration, but I also see both sides. Where it might be better to do it the wrong, but existing way, for a PR which did not have a stated purpose of starting to move to a better way.
LandOfMightDev•14m ago
it wasn't substantially different per-se... It was just normalized when a lot of the data structures were not normalized (for no good reason) usually 0-2NF
chadash•18m ago
As a manager, I have a rule for people joining my team. You can’t make big changes in your first few months. This doesn’t mean our code base is amazing or that you are wrong… it’s simply that you have to really learn the business and the code base before you really understand what the priorities are. I tell people to write down things that they don’t like and then a few months in, we can circle back and decide if they are worth changing. It’s easy to have a myopic viewpoint when you don’t fully understand how things fit together or what the business priorities are.

Now, I am not doubting that you have come up with a better pattern. But there is merit in having consistency within a code base. Sometimes doing things the same way across modules is easier to maintain, even if it is suboptimal.

If you are new to a codebase, my advice is to stick to the current conventions. When you are three or four months into the job, and you have earned some credibility, then it is OK to circle back and suggest some refactors.

LandOfMightDev•9m ago
I've been here for more than a year, im just loaned out to help this team for now. The codebase is only around a year old, and most of it was created by just two people, one of which is no longer on the team... Basically it is an issue of normalization... Right now their current pattern is to use only 0-2NF which is objectively inefficient and just bad practice... Even someone new to the codebase can see this..
jimmydoe•9m ago
If you can’t fit in after a year (regardless of whose fault), why stay?
LandOfMightDev•5m ago
i can fit in fine, I've worked with like 3 different teams. This is the first time I've met someone like this at this company.