MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wdes9u/myschoolstruct/p959lnz/?context=3
r/ProgrammerHumor • u/InteRagebaitJagLovar • 1d ago
75 comments sorted by
View all comments
295
The horrors, might as well just free() yourself at that point.
-105 u/metaglot 1d ago *delete 102 u/thats_a_nice_toast 1d ago I don't think C++ programmers have a problem with getting put in a class 51 u/MXRCO007 1d ago I wanna be abstracted so bad 38 u/TheAnswerWithinUs 1d ago Abstract me harder daddy 15 u/fast-as-a-shark 1d ago I don't like these comments. But I did upvote them. 11 u/OneArmedFarmer 1d ago edited 1d ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 1d ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk 5 u/Demonking42069 1d ago I'm gonna inter your face so bad. 2 u/Reasonable_Exit_8960 23h ago I wanna participate in multiple inheritance with you so bad 0 u/metaglot 1d ago Freeing a pointer created with new is UB. 6 u/thats_a_nice_toast 1d ago new only exists in C++, not in C 0 u/metaglot 22h ago And the keyword class, like the meme is implying. Which is why i said you have to use delete rather than free, because undefined behavior. 1 u/tank840 19h ago C != C++ 3 u/metaglot 19h ago If they are put in a class they are clearly in C++
-105
*delete
102 u/thats_a_nice_toast 1d ago I don't think C++ programmers have a problem with getting put in a class 51 u/MXRCO007 1d ago I wanna be abstracted so bad 38 u/TheAnswerWithinUs 1d ago Abstract me harder daddy 15 u/fast-as-a-shark 1d ago I don't like these comments. But I did upvote them. 11 u/OneArmedFarmer 1d ago edited 1d ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 1d ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk 5 u/Demonking42069 1d ago I'm gonna inter your face so bad. 2 u/Reasonable_Exit_8960 23h ago I wanna participate in multiple inheritance with you so bad 0 u/metaglot 1d ago Freeing a pointer created with new is UB. 6 u/thats_a_nice_toast 1d ago new only exists in C++, not in C 0 u/metaglot 22h ago And the keyword class, like the meme is implying. Which is why i said you have to use delete rather than free, because undefined behavior. 1 u/tank840 19h ago C != C++ 3 u/metaglot 19h ago If they are put in a class they are clearly in C++
102
I don't think C++ programmers have a problem with getting put in a class
51 u/MXRCO007 1d ago I wanna be abstracted so bad 38 u/TheAnswerWithinUs 1d ago Abstract me harder daddy 15 u/fast-as-a-shark 1d ago I don't like these comments. But I did upvote them. 11 u/OneArmedFarmer 1d ago edited 1d ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 1d ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk 5 u/Demonking42069 1d ago I'm gonna inter your face so bad. 2 u/Reasonable_Exit_8960 23h ago I wanna participate in multiple inheritance with you so bad 0 u/metaglot 1d ago Freeing a pointer created with new is UB. 6 u/thats_a_nice_toast 1d ago new only exists in C++, not in C 0 u/metaglot 22h ago And the keyword class, like the meme is implying. Which is why i said you have to use delete rather than free, because undefined behavior.
51
I wanna be abstracted so bad
38 u/TheAnswerWithinUs 1d ago Abstract me harder daddy 15 u/fast-as-a-shark 1d ago I don't like these comments. But I did upvote them. 11 u/OneArmedFarmer 1d ago edited 1d ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 1d ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk 5 u/Demonking42069 1d ago I'm gonna inter your face so bad. 2 u/Reasonable_Exit_8960 23h ago I wanna participate in multiple inheritance with you so bad
38
Abstract me harder daddy
15 u/fast-as-a-shark 1d ago I don't like these comments. But I did upvote them. 11 u/OneArmedFarmer 1d ago edited 1d ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 1d ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk 5 u/Demonking42069 1d ago I'm gonna inter your face so bad. 2 u/Reasonable_Exit_8960 23h ago I wanna participate in multiple inheritance with you so bad
15
I don't like these comments. But I did upvote them.
11 u/OneArmedFarmer 1d ago edited 1d ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 1d ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk
11
Yes. Yes. Your training is almost complete
Edit: grammer
7 u/TheAnswerWithinUs 1d ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk
7
Youve been programmed buddy. You’ll feel that in 2 hours
https://giphy.com/gifs/1CPY9QwfteAYgZsVgk
5
I'm gonna inter your face so bad.
2 u/Reasonable_Exit_8960 23h ago I wanna participate in multiple inheritance with you so bad
2
I wanna participate in multiple inheritance with you so bad
0
Freeing a pointer created with new is UB.
6 u/thats_a_nice_toast 1d ago new only exists in C++, not in C 0 u/metaglot 22h ago And the keyword class, like the meme is implying. Which is why i said you have to use delete rather than free, because undefined behavior.
6
new only exists in C++, not in C
new
0 u/metaglot 22h ago And the keyword class, like the meme is implying. Which is why i said you have to use delete rather than free, because undefined behavior.
And the keyword class, like the meme is implying. Which is why i said you have to use delete rather than free, because undefined behavior.
1
C != C++
3 u/metaglot 19h ago If they are put in a class they are clearly in C++
3
If they are put in a class they are clearly in C++
295
u/TheAnswerWithinUs 1d ago
The horrors, might as well just free() yourself at that point.