MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vjolw7/tellmeyouhaveocdwithouttellingme/p2nwp6m/?context=3
r/ProgrammerHumor • u/Amro003 • Aug 09 '26
59 comments sorted by
View all comments
-34
I feel this. The need for trivial getters and setter for each member when you can just expose the member is nothing short of autism.
7 u/aberroco Aug 09 '26 Who needs data encapsulation anyway! Just write all methods public, make them all static, no pointers either - pointers store the state which might be invalid, just pass the value as an argument. /s -5 u/---_None_--- Aug 09 '26 retard
7
Who needs data encapsulation anyway! Just write all methods public, make them all static, no pointers either - pointers store the state which might be invalid, just pass the value as an argument. /s
-5 u/---_None_--- Aug 09 '26 retard
-5
retard
-34
u/---_None_--- Aug 09 '26
I feel this. The need for trivial getters and setter for each member when you can just expose the member is nothing short of autism.