r/badcode • • Jun 29 '20

python The universal getter.

Post image
1.8k Upvotes

65 comments sorted by

View all comments

152

u/DariusDerStar Jun 29 '20

Thats me in college when I didn't understand why I need getters and setters but my prof tells me they are mandatory

1

u/Def_Your_Duck Jun 29 '20

College you should learn about macros. I haven't written a non-complex getter/setter in my life.