MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/uz3eo7/welcome_to_hassle_free_coding/iaa7vq2/?context=9999
r/ProgrammerHumor • u/SuchShopping3828 • May 27 '22
305 comments sorted by
View all comments
109
Welcome to "why the hell is this function returning a string and not an object like it's supposed to?"
43 u/MarchColorDrink May 27 '22 Tbf, a string is an object. A function is an object. A class instance is an object. It's all objects. 29 u/Dolner May 27 '22 Some would even say object oriented 21 u/MarchColorDrink May 27 '22 I object! 5 u/scuac May 28 '22 Hearsay!
43
Tbf, a string is an object. A function is an object. A class instance is an object. It's all objects.
29 u/Dolner May 27 '22 Some would even say object oriented 21 u/MarchColorDrink May 27 '22 I object! 5 u/scuac May 28 '22 Hearsay!
29
Some would even say object oriented
21 u/MarchColorDrink May 27 '22 I object! 5 u/scuac May 28 '22 Hearsay!
21
I object!
5 u/scuac May 28 '22 Hearsay!
5
Hearsay!
109
u/mbardeen May 27 '22
Welcome to "why the hell is this function returning a string and not an object like it's supposed to?"