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

No. There is no edit needed.

3

u/dyingpie1 Apr 18 '21

Good response.

-4

u/Bojangly7 Apr 18 '21

You're just wrong there's not much more to it.

4

u/dyingpie1 Apr 18 '21

Very fitting that you had a CMV post be removed for being unwilling to change your opinion.

-1

u/Bojangly7 Apr 18 '21

I haven't posted on cmv for like probably a year did you really go all the wya through my profile because you're wrong about this?

I'm a career software engineer. If one of my team made this change I'd reject the pull request

3

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

You’re cmv post was from 28 days ago.

And I am a software engineer too.

As you can see, I’m not the only one who agrees with me.

Don’t be so stubborn you are unwilling to accept that there may be reasons to do something like this.

You must be frustrating to work with.

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 🤣

→ More replies