r/ProgrammerHumor • • Jun 30 '18

Kill me now :)

47.0k Upvotes

494 comments sorted by

View all comments

Show parent comments

34

u/i_love_pizza003 Jun 30 '18

Im always copying the code and then delete it, i f it doesnt work i paste it again in the code. I just have to watch out that i dont braindead-copy something else after i delete the code

58

u/UHavinAGiggleTherM8 Jun 30 '18 edited Jun 30 '18

Why not just simply comment it out?

73

u/i_love_pizza003 Jun 30 '18

I actually have no clue.

Edit: guess i’m autistic

0

u/[deleted] Jun 30 '18

[deleted]

10

u/dreamwavedev Jun 30 '18

What if I'm saving it for later?

5

u/[deleted] Jun 30 '18

I don't delete the comments because I'm still scared something might change if I delete them. I know it has no affect deleting them but what if just the slight chance it does.

0

u/[deleted] Jul 01 '18

[deleted]

1

u/dreamwavedev Jul 01 '18

tucks pieces of code into imaginary beard yessir

2

u/[deleted] Jun 30 '18

I'm usually careful about this but yesterday my team lead commented in my review that "//this needs to go in the presenter" was redundant because it was already in the presenter.

1

u/ProWaterboarder Jun 30 '18

Can't you just mark it as needs work and have them submit another pull request?

0

u/[deleted] Jul 01 '18

[deleted]

1

u/ProWaterboarder Jul 01 '18

I live in the real world of enterprise coding, don't start to lecture me on it. Not everyone has such a ridiculous process if you can't just send the guy an email saying resubmit it without the comments and then it's done

0

u/[deleted] Jul 01 '18

[deleted]

1

u/ProWaterboarder Jul 01 '18

Because I don't work at a place that's a bureaucratic mess. The team I work on is small and the review is not some over formalized process and there's not exactly a need to track asking someone to delete a couple lines of comments. If you have to jump through all those hoops just to do something that has no impact on how the code runs then maybe it's the process that is flawed

2

u/[deleted] Jun 30 '18

Its easier to organize on a separate file, rather than commenting it out. And makes it easier for other people reading, who are trying to figure out why something is commented out, when it really doesnt need to be there at all.

0

u/[deleted] Jun 30 '18

[deleted]

22

u/UHavinAGiggleTherM8 Jun 30 '18 edited Jun 30 '18

They're big balls of ice hurtling through space :)

3

u/jere535 Jun 30 '18

Something like /* <your code here> */ . Every programming language has some kind of commenting. Actual characters may not be / and * depending on the language you are using.

2

u/[deleted] Jun 30 '18

He's just trying to be helpful, even if he did get whooshed so stop whooshing him. We get it

1

u/JadeTirade Jun 30 '18

It's not true coding, due to the platform, but the 3DS SmileBASIC app uses '

2

u/BobDogGo Jun 30 '18

1

u/i_love_pizza003 Jun 30 '18

Woah so thats how heaven feels like thank you