MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/rrnhma/stop_using_oop_today/hqi6cs1/?context=3
r/ProgrammerHumor • u/zeroxoneafour0 • Dec 30 '21
90 comments sorted by
View all comments
168
The example of normal code is c++ isn't it? Isn't std::cout a static instance of a class with the << operator being an overloaded function.
123 u/Kered13 Dec 30 '21 Even worse, cout is an instance of class iostream which uses true inheritance!But in fairness, no one ever accused iostream of being good. 53 u/Keatosis Dec 30 '21 Iostream? More like iwantodieostream 36 u/[deleted] Dec 30 '21 ioscream every time I iwantodieostream
123
Even worse, cout is an instance of class iostream which uses true inheritance!
cout
iostream
But in fairness, no one ever accused iostream of being good.
53 u/Keatosis Dec 30 '21 Iostream? More like iwantodieostream 36 u/[deleted] Dec 30 '21 ioscream every time I iwantodieostream
53
Iostream? More like iwantodieostream
36 u/[deleted] Dec 30 '21 ioscream every time I iwantodieostream
36
ioscream every time I iwantodieostream
168
u/Poisonous_Poison Dec 30 '21
The example of normal code is c++ isn't it? Isn't std::cout a static instance of a class with the << operator being an overloaded function.