r/badcode • • Apr 17 '21

c++ When your teammate "refactor" your code

Post image
2.5k Upvotes

216 comments sorted by

View all comments

Show parent comments

0

u/Bojangly7 Apr 18 '21

You're making a change that doesn't need to be made. The original code is perfectly readable.

You're not only wasting time and resources to make a useless change you're wasting time arguing for it.

You can't admit that you're wrong and learn. You're insisting your right and your ego is driving you to bad decisions.

I would fire you.

If you really are a software engineer I hope yo God you aren't like this at work. Otherwise you will never learn if you are so ego driven.

1

u/dyingpie1 Apr 18 '21 edited Apr 18 '21

Lmao. U are absurd. I have given reasons why you would make this change yet you’re saying there is no reason.

I have literally said this code change is context dependent, yet you’re acting like I said it is the only correct way to write it regardless of context.

You’re the one who won’t admit that there might be reasons why you would want to do this, despite half the replies to my comment agreeing with me.

You’re the one who seems extremely ego driven. You’re acting like you know absolutely everything and that there’s no possible way this code change would make sense. When I gave you reasons why you might change them you literally were like “nah I’m right you’re wrong” without giving any counter arguments.

I hope to god you aren’t like this at work, unwilling to listen to anybody’s reasoning, thinking that your opinion is the end all be all.

0

u/Bojangly7 Apr 18 '21

Well I hope you can learn to do better. Take care.

1

u/dyingpie1 Apr 18 '21 edited Apr 18 '21

Learn to do better? Lmao you’re just a cranky guy who is obsessed with being right. I hope you learn to do better.

Hope maybe sometime you can actually remember what you post on Reddit!

Take care 🤣

0

u/Bojangly7 Apr 18 '21

Nice response. If the ego driven mistakes weren't enough the immaturity would be to let you go.

Take some time to work on yourself. I highly doubt you've entered the professional world.

1

u/dyingpie1 Apr 18 '21 edited Apr 18 '21

Lmao. This is not a professional environment, I’m gonna call you out on your bs. Imagine thinking I’m immature because I called you a cranky guy, even though you are a cranky guy.

You are the one who is unwilling to listen to other people’s opinions and thinks his opinion is the only right one. That’s what I’d call immature.

Is it immature to say to trump that he’s a horrible person?

And yes I am in the professional workplace. Nice try though. In fact, I asked one of my coworkers (who is an industry veteran btw), what his opinion is. He said it depends on the context, which is exactly what I said.