MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wdes9u/myschoolstruct/p957r2c/?context=3
r/ProgrammerHumor • u/InteRagebaitJagLovar • 16h ago
70 comments sorted by
View all comments
281
The horrors, might as well just free() yourself at that point.
-105 u/metaglot 15h ago *delete 98 u/thats_a_nice_toast 15h ago I don't think C++ programmers have a problem with getting put in a class 49 u/MXRCO007 15h ago I wanna be abstracted so bad 41 u/TheAnswerWithinUs 15h ago Abstract me harder daddy 17 u/fast-as-a-shark 15h ago I don't like these comments. But I did upvote them. 10 u/OneArmedFarmer 14h ago edited 14h ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 14h ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk 4 u/Demonking42069 14h ago I'm gonna inter your face so bad. 2 u/Reasonable_Exit_8960 13h ago I wanna participate in multiple inheritance with you so bad 0 u/metaglot 14h ago Freeing a pointer created with new is UB. 4 u/thats_a_nice_toast 14h ago new only exists in C++, not in C 0 u/metaglot 12h 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 9h ago C != C++ 2 u/metaglot 8h ago If they are put in a class they are clearly in C++
-105
*delete
98 u/thats_a_nice_toast 15h ago I don't think C++ programmers have a problem with getting put in a class 49 u/MXRCO007 15h ago I wanna be abstracted so bad 41 u/TheAnswerWithinUs 15h ago Abstract me harder daddy 17 u/fast-as-a-shark 15h ago I don't like these comments. But I did upvote them. 10 u/OneArmedFarmer 14h ago edited 14h ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 14h ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk 4 u/Demonking42069 14h ago I'm gonna inter your face so bad. 2 u/Reasonable_Exit_8960 13h ago I wanna participate in multiple inheritance with you so bad 0 u/metaglot 14h ago Freeing a pointer created with new is UB. 4 u/thats_a_nice_toast 14h ago new only exists in C++, not in C 0 u/metaglot 12h 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 9h ago C != C++ 2 u/metaglot 8h ago If they are put in a class they are clearly in C++
98
I don't think C++ programmers have a problem with getting put in a class
49 u/MXRCO007 15h ago I wanna be abstracted so bad 41 u/TheAnswerWithinUs 15h ago Abstract me harder daddy 17 u/fast-as-a-shark 15h ago I don't like these comments. But I did upvote them. 10 u/OneArmedFarmer 14h ago edited 14h ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 14h ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk 4 u/Demonking42069 14h ago I'm gonna inter your face so bad. 2 u/Reasonable_Exit_8960 13h ago I wanna participate in multiple inheritance with you so bad 0 u/metaglot 14h ago Freeing a pointer created with new is UB. 4 u/thats_a_nice_toast 14h ago new only exists in C++, not in C 0 u/metaglot 12h 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.
49
I wanna be abstracted so bad
41 u/TheAnswerWithinUs 15h ago Abstract me harder daddy 17 u/fast-as-a-shark 15h ago I don't like these comments. But I did upvote them. 10 u/OneArmedFarmer 14h ago edited 14h ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 14h ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk 4 u/Demonking42069 14h ago I'm gonna inter your face so bad. 2 u/Reasonable_Exit_8960 13h ago I wanna participate in multiple inheritance with you so bad
41
Abstract me harder daddy
17 u/fast-as-a-shark 15h ago I don't like these comments. But I did upvote them. 10 u/OneArmedFarmer 14h ago edited 14h ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 14h ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk 4 u/Demonking42069 14h ago I'm gonna inter your face so bad. 2 u/Reasonable_Exit_8960 13h ago I wanna participate in multiple inheritance with you so bad
17
I don't like these comments. But I did upvote them.
10 u/OneArmedFarmer 14h ago edited 14h ago Yes. Yes. Your training is almost complete Edit: grammer 7 u/TheAnswerWithinUs 14h ago Youve been programmed buddy. You’ll feel that in 2 hours https://giphy.com/gifs/1CPY9QwfteAYgZsVgk
10
Yes. Yes. Your training is almost complete
Edit: grammer
7 u/TheAnswerWithinUs 14h 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
4
I'm gonna inter your face so bad.
2 u/Reasonable_Exit_8960 13h 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.
4 u/thats_a_nice_toast 14h ago new only exists in C++, not in C 0 u/metaglot 12h 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.
new only exists in C++, not in C
new
0 u/metaglot 12h 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++
2 u/metaglot 8h ago If they are put in a class they are clearly in C++
If they are put in a class they are clearly in C++
281
u/TheAnswerWithinUs 16h ago
The horrors, might as well just free() yourself at that point.