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.
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..
If you're loaned out then you're new to the team, and it's likely temporary so whatever changes you make will have to be maintained by the original members once you leave. You didn't say anything about the software so I assume it was meeting business objectives. Introducing additional changes means it'll take more time to review and will take that time away from other work.
If the issue is really the database schema the only layers that would need to change are the database tables, the DTO mappers and maybe a few of the services. You can keep the backend DTO's, API and front end models and pages all the same. Sounds like a couple day change (few hours with Claude or Codex). Unless this is really a hill you want to die on seems they want the project in a specific state when you are no longer around, since sounds like you are just loaned out to them. I am all for normalizing the DB tables but at same time if that is how the lead (or whomever this rank above you is) just do it. Without more info hard to say who is 'right' and how long the changes will take -- Just my 2-cents.
Since the project is only 1 year old
- Is it functional?
- Is it in production?
- Is it a critical or useful feature yet?
- Does it have large user base?
Small incremental changes may not make sense, if it is broken and unusable in production.
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.
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
> It was just normalized when a lot of the data structures were not normalized (for no good reason)
Unless you are offering to re-write their entire code base (on your own dime) to work with your pattern instead of the one they already have established, I would chalk it up to chesterton’s fence, change it over to the approved pattern y, and move on. There could be a reason they don't want to introduce x pattern which "is very similar only removing the limitation". Sometimes that reason gets lost but that doesnt make it invalid.
I read your other thread about AI mis/use at your company.
Prompt AI on separate threads that makes a brief summary that shows that the old method is inferior - not scalable, unmaintainable, not fit for production, a security risk, a poor pattern. And your implementation - vastly superior.
If your manager is one who can not argue with AI, he will either capitulate or expose his bias towards the other coworker.
When some employees use terms like "does not meet our standards" or "is against our Architecture principles" but can not really explain why, they are coming with cheap shots to slow you down, setup you up for failure or get a reaction out of you.
Trying to explain it to them or to a superior does not work, that is why they play this game in the first place.
Your job is to come up with a cheap but sophisticated counter attack (AI summary that shows your implementation as vastly superior and the old code is a disaster waiting to happen). You may not win this time but if you act cool and make your future inflictions more sophisticated they will be scared to question you in the future because it shows them in bad light.
Some people engage in such practice to keep away competition or because they believe they are important because of their grasp of the old code. If it continues this way because they have a cabal or support from the superiors, it is best to move away before you ruin your career over pettiness.
You shouldn't be diverging from team practices one month in, you're going to burn all your reputation before you even have any. Getting PRs approved is part of the job and progress you should be reporting, you aren't done until the PR is merged.
> i can fit in fine, I've worked with like 3 different teams.
I don't claim to know how you fit in or not; or if you requested the moves or if the teams you've worked with think that you would be an even greater help to another team that is not them. But, fitting in is not usually described by first saying you were 'loaned' to your current team, and then that you have "worked with like 3 different teams" already.
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...?
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.
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.
> 74 requirements (about a paragraph each), DB schema, 2 web pages, and then all of the APIs.
Jesus christ is this a +50k/-20k pr? I'd reject a 74 requirement PR whole cloth even if it was gorgeous code.
It sets a bad precedent that opening a massive PR is acceptable and will get serious feedback. If that's the norm for the team, then why are we waiting 4 weeks in on getting green lights? I'd expect the team to be getting constant small green lights along the way with the most impactful/controversial mitigated at the beginning of the project.
You created a PR with a full month's work? Surely I'm not interpreting that correctly. PRs that are meant to be reviewed should be relatively small-- despite whatever self-branded "AI Native Prompt Engineers" will say.
Whats the point of this rant? What is anyone supposed to judge, understand or recommend based on your vague paraphrasing of what happened without any details (which you pobably are not allowed to divulge)?
I don't tolerate these kinds of people. No organisation is perfect, things are done in a particular way for a particular reason, and its never perfect from an engineering perspective. Engineering is ultimately about balancing constraints which could be time, resources, money, shifting priorities, or technicals.
Wait 3 months, get the vibe of the company, and then try to change some things. An organization is about people management at the end of the day, and a cohesive team is more important than a perfectionist.
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.
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...
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...
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.
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..
If you're loaned out then you're new to the team, and it's likely temporary so whatever changes you make will have to be maintained by the original members once you leave. You didn't say anything about the software so I assume it was meeting business objectives. Introducing additional changes means it'll take more time to review and will take that time away from other work.
This. Writing it was the easy part. Maintaining it will be the hard part.
If the issue is really the database schema the only layers that would need to change are the database tables, the DTO mappers and maybe a few of the services. You can keep the backend DTO's, API and front end models and pages all the same. Sounds like a couple day change (few hours with Claude or Codex). Unless this is really a hill you want to die on seems they want the project in a specific state when you are no longer around, since sounds like you are just loaned out to them. I am all for normalizing the DB tables but at same time if that is how the lead (or whomever this rank above you is) just do it. Without more info hard to say who is 'right' and how long the changes will take -- Just my 2-cents.
My advice: behave like the kind of person other people want to work with.
to use Y pattern I would basically need to change most of the logic and it would be about 70% waste.
They are paying you so that that sort of change can be made.
I'm going to have a chat with the manager tomorrow morning
You will create a problem for your manager that does not need to exist.
And not improve the one-level-up-reviewer’s opinion of you.
Again, behave like the kind of person other people want to work with.
Because people hire good hangs.
Since the project is only 1 year old - Is it functional? - Is it in production? - Is it a critical or useful feature yet? - Does it have large user base?
Small incremental changes may not make sense, if it is broken and unusable in production.
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.
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
> It was just normalized when a lot of the data structures were not normalized (for no good reason)
Unless you are offering to re-write their entire code base (on your own dime) to work with your pattern instead of the one they already have established, I would chalk it up to chesterton’s fence, change it over to the approved pattern y, and move on. There could be a reason they don't want to introduce x pattern which "is very similar only removing the limitation". Sometimes that reason gets lost but that doesnt make it invalid.
I read your other thread about AI mis/use at your company.
Prompt AI on separate threads that makes a brief summary that shows that the old method is inferior - not scalable, unmaintainable, not fit for production, a security risk, a poor pattern. And your implementation - vastly superior.
If your manager is one who can not argue with AI, he will either capitulate or expose his bias towards the other coworker.
When some employees use terms like "does not meet our standards" or "is against our Architecture principles" but can not really explain why, they are coming with cheap shots to slow you down, setup you up for failure or get a reaction out of you.
Trying to explain it to them or to a superior does not work, that is why they play this game in the first place.
Your job is to come up with a cheap but sophisticated counter attack (AI summary that shows your implementation as vastly superior and the old code is a disaster waiting to happen). You may not win this time but if you act cool and make your future inflictions more sophisticated they will be scared to question you in the future because it shows them in bad light.
Some people engage in such practice to keep away competition or because they believe they are important because of their grasp of the old code. If it continues this way because they have a cabal or support from the superiors, it is best to move away before you ruin your career over pettiness.
You shouldn't be diverging from team practices one month in, you're going to burn all your reputation before you even have any. Getting PRs approved is part of the job and progress you should be reporting, you aren't done until the PR is merged.
If you can’t fit in after a year (regardless of whose fault), why stay?
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.
> i can fit in fine, I've worked with like 3 different teams.
I don't claim to know how you fit in or not; or if you requested the moves or if the teams you've worked with think that you would be an even greater help to another team that is not them. But, fitting in is not usually described by first saying you were 'loaned' to your current team, and then that you have "worked with like 3 different teams" already.
It’s a blocker just like any other. Tell your manager why it isn’t finished.
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...?
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.
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.
> 74 requirements (about a paragraph each), DB schema, 2 web pages, and then all of the APIs.
Jesus christ is this a +50k/-20k pr? I'd reject a 74 requirement PR whole cloth even if it was gorgeous code. It sets a bad precedent that opening a massive PR is acceptable and will get serious feedback. If that's the norm for the team, then why are we waiting 4 weeks in on getting green lights? I'd expect the team to be getting constant small green lights along the way with the most impactful/controversial mitigated at the beginning of the project.
You created a PR with a full month's work? Surely I'm not interpreting that correctly. PRs that are meant to be reviewed should be relatively small-- despite whatever self-branded "AI Native Prompt Engineers" will say.
How large is your PR?
Whats the point of this rant? What is anyone supposed to judge, understand or recommend based on your vague paraphrasing of what happened without any details (which you pobably are not allowed to divulge)?
I don't tolerate these kinds of people. No organisation is perfect, things are done in a particular way for a particular reason, and its never perfect from an engineering perspective. Engineering is ultimately about balancing constraints which could be time, resources, money, shifting priorities, or technicals.
Wait 3 months, get the vibe of the company, and then try to change some things. An organization is about people management at the end of the day, and a cohesive team is more important than a perfectionist.
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.
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...
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.
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...
OP, do not say this.
But, I might tell the manager that this guy says he can do it in one day. Let the manager tell him to try.
I definitely won't tell him to do it lol
People who own the commit bits own the code, it's really that simple.
Exactly how much does it matter if you rewrite the code his way? Focus on what's important in your life. This X vs Y shit probably isn't.