61
submitted 10 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 10 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.

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

also const correctness in languages that support that concept

load more comments (1 replies)
this post was submitted on 02 Jul 2023
61 points (89.6% liked)

Programmer Humor

30779 readers
139 users here now

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

Rules:

founded 4 years ago
MODERATORS