14
YADU
3y

So, first a bit of background:

We've got a parent class, owned by another team, and two child classes, owned by my team. One of the children is unused. (Already sounds bullshit right.)

On to the story:
6 months ago, I had to modify one of the children (add new functionality).

I try to modify the base class to add it, the senior dev in charge says "no, just add it on the child". So I do, then merge it in.

Yesterday I wake up to a high priority bug. Turns out the senior guy wants to add another child class, and wants the functionality I put in my class on the base class.

Even commented on my PR from 6 months ago asking why I didn't do that.

The fucker opened up a high priority issue assigned to me, asking ME TO DO THE CHANGE I WANTED TO DO 6 MONTHS AGO THAT HE SAID NO TO.

Fuck this shit. I have a meeting with him and my boss in an hour. My boss is pissed, I hope he tells the other guy to go fuxk himself and do the change himself.

Comments
  • 4
    Idiots everywhere.

    Let him do the change himself.
  • 2
    @magicMirror I'll update after the meeting.

    It would only take me half a day probably, longer for him since he doesn't know the code.

    I would have been fine doing the change if he hadn't been so aggressive about saying I'd broken stuff.
  • 5
    Did you take the discussion on where to pit the functionality in the development ticket or the PR?

    If not, make sure any such decisions are logged in the ticket or pr for future reference, that way you have proof of reason.
  • 5
    @Voxera when I was first doing this, I talked with my mentor and did the thing that the guy from the other team now wants (implementing the feature on the base class).

    The guy from the other team rejected my PR, so I implemented the feature just on one child class.

    There's literally a comment from the guy on the PR from 6 months ago of the guy saying not to do the thing he's now suggesting that I do.
  • 3
    Update: my boss scheduled a meeting with the three of us this morning.

    My boss said "since you want the changes, do them and we'll review them".
  • 1
    @YADU
    Copy paste FTW.
    As long as this asshat does not come back to annouy in the future, all good.
  • 3
    @magicMirror he's gonna have to do more than just copy paste unfortunately, because I've made other changes on top of that first change.

    I imagine he'll be back.

    He was incredibly rude to my boss during the meeting though. Said stuff like "feature X is bad" about several features my boss has worked on or general stuff my boss supports. Nothing personal I suppose but all the examples of bad stuff he chose were coincidentally stuff my boss supported or worked on lol.
  • 2
    @YADU not very good at office politics then ;)
  • 0
    @Voxera I certainly am not. I think my boss is pretty good though
  • 0
    @YADU I was referring to the other one ;)
  • 0
    How big are those classes?
  • 0
    @hjk101 the child classes are pretty big, the base class is just an interface basically...
  • 0
    @YADU yeah that sounded to me like there are some bad practices at play and the source of these issues.
    Time to learn about IoC/DI and design by contract. Than you can build classes that only do one thing and changes that don't break everything instead of an ever expanding Swiss army knife.
  • 0
    @hjk101 I mean, there's definitely a bunch of nice cleanup to be done here.

    I don't want to be the one to do it though, this code is deprecated anywyas...
Add Comment