this post was submitted on 02 Jul 2023
52 points (90.6% liked)

Programmer Humor

33155 readers
250 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 18 points 2 years ago (2 children)

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] 5 points 2 years ago

also const correctness in languages that support that concept

load more comments (1 replies)