submitted 9 months ago by hairinmybellybutt to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] DarthFrodo 21 points 9 months ago

The neat thing is, you can add stuff like range checks and logging for getters and setters without changing every call. Separation of concerns is also vital in larger projects.

[-] hairinmybellybutt 21 points 9 months ago

typical OOP progaganda

[-] [email protected] 6 points 9 months ago

also const correctness in languages that support that concept

this post was submitted on 02 Jul 2023
62 points (90.8% liked)

Programmer Humor

30604 readers
1083 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)


founded 4 years ago