67
joodoc
7y

We have a new developer working in our office. He is fairly new, which is understandable, so he asks for help regularly(which I actually appreciate). This time however, he asked for help, and every step of the way argued it. He said he needed help making a small circle(it's just an indicator on a table).

I told him if there is a mat-icon it would be simple, but if not it would still be pretty simple with CSS. He argued that those two options seem messy. I pointed out they are extremely clean actually, and showed him how it was only about 4 lines of css. and 1 if there was a material icon. He agreed it was pretty easy, and then went with a complicated way to have green or red. I let him know that was really trivial, and even gave him the exact code he needed for it(at this point, he could have copy and pasted, adjusted the conditional to the name of his variable, and be done).

He proceeds to take 3 more days to complete this task, making a new component for a colored circle, using templates and nested css in the html, and hard coding the color as opposed to using the material colors we use site wide. All in all 100+ lines of code. And he felt my solution with fewer than 10 lines was messy.

Comments
  • 33
    Those people are the reason I drink.
  • 14
    Classic architect potential.
  • 5
    Block him before it's too late. It will only get worse
  • 5
    Welcome to devRant sorry to hear you have to deal with this. But please continue to be supportive to those around you. Not everyone is like this!
  • 1
    @mundus It was beaten into me by a previous boss, who insisted that I stop coding, and hand out the the coding to my team. Did not stop me being a smartass though.
  • 5
    Print his code out and throw it at him
  • 7
    Get a 3D printer
    Print out every line of code
    Glue them together
    Bash him over his head with it till he's unconscious
  • 1
    So did you ask him to reflect his entire action and thinking process. Ask his what was good and what was bad.what did he learn along the way. If the same thing happens, is he going to do the similar thing?

    I run this 3 times everyday against myself and twices in a team each day, if I have a team.

    The basic idea is to run stand-up and scrum on personal level.

    If the new guy starts to think about what is the purpose of life or what he does exist, it is taking effect.
  • 1
    He clearly needs help. He also seems hungry. You could either be his mentor and help him see better or you could just not bother and be his training wheels.
  • 0
    @bashleigh That made me lol πŸ˜‚
    What a peculiar way to vent out.
  • 3
    @dr-ant Well you've heard of throw the book at him. Now it's throw the code at him. The more shit he writes the more it hurts. There's logic to my madness I swears it.
  • 0
    @bashleigh that's good logic and it generates lols too. 😁 (at least for me)
    This is just the kind of thing that I can see Archer doing.
  • 0
    @sslPoodle the issue with that though is that by doing it the hard way, you are complicating the life of future developers who have to maintain it, as well as wiring your brain towards that method.(when you do something, you create connections in your brain, which makes you more likely to do it again). Sometimes that's not a big deal, when it is something that is preference it doesn't really matter. But when an hourish task for 10ish lines takes 3 days and 100s of lines, then it's a big deal.
  • 0
    @sslPoodle also arguing solutions is a great thing to do, it gets the pros and cons of solutions out there so a good solution can be found. But when the best solution comes forward, that is the solution that should be done.
Add Comment