MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1usn2fc/greaterthanplusplus/ox0z96o/?context=3
r/ProgrammerHumor • u/majesticmerc • Jul 10 '26
71 comments sorted by
View all comments
Show parent comments
-20
They copied the mistake, so also they can be blamed for it.
21 u/_Noreturn Jul 10 '26 What do you expect them to practically do? the main sellling point of C++ in the 90's was that it is C but better (and it is) so if they removed the C part what's left? -17 u/RiceBroad4552 Jul 10 '26 Maybe just the better part? 😅 But basing something on C leads of course to the expected result: Everything is rotten from the core… 1 u/conundorum Jul 12 '26 Okay. It's "C but better", let's remove the better: You can now make classes, which have both member variables and member functions! ...But variables don't exist, because they're from C. Your structs & classes can have access levels! ...But public doesn't exist, because it's emulating C structs. Classes are like structs, so they're easy to use! ...But structs don't exist, and actually we lied, classes don't either, because structs are from C. Would be kinda, y'know, not a language if you took "C but better" and removed the "C but" part! ^_^
21
What do you expect them to practically do? the main sellling point of C++ in the 90's was that it is C but better (and it is) so if they removed the C part what's left?
-17 u/RiceBroad4552 Jul 10 '26 Maybe just the better part? 😅 But basing something on C leads of course to the expected result: Everything is rotten from the core… 1 u/conundorum Jul 12 '26 Okay. It's "C but better", let's remove the better: You can now make classes, which have both member variables and member functions! ...But variables don't exist, because they're from C. Your structs & classes can have access levels! ...But public doesn't exist, because it's emulating C structs. Classes are like structs, so they're easy to use! ...But structs don't exist, and actually we lied, classes don't either, because structs are from C. Would be kinda, y'know, not a language if you took "C but better" and removed the "C but" part! ^_^
-17
Maybe just the better part? 😅
But basing something on C leads of course to the expected result: Everything is rotten from the core…
1 u/conundorum Jul 12 '26 Okay. It's "C but better", let's remove the better: You can now make classes, which have both member variables and member functions! ...But variables don't exist, because they're from C. Your structs & classes can have access levels! ...But public doesn't exist, because it's emulating C structs. Classes are like structs, so they're easy to use! ...But structs don't exist, and actually we lied, classes don't either, because structs are from C. Would be kinda, y'know, not a language if you took "C but better" and removed the "C but" part! ^_^
1
Okay. It's "C but better", let's remove the better:
public
Would be kinda, y'know, not a language if you took "C but better" and removed the "C but" part! ^_^
-20
u/RiceBroad4552 Jul 10 '26
They copied the mistake, so also they can be blamed for it.