54
you are viewing a single comment's thread
view the rest of the comments
[-] DarthFrodo@lemmy.world 18 points 1 year 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@lemmy.world 11 points 1 year ago

typical OOP progaganda

[-] jazz@lemm.ee 4 points 1 year ago

also const correctness in languages that support that concept

this post was submitted on 02 Jul 2023
54 points (89.7% liked)

Programmer Humor

32380 readers
990 users here now

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

Rules:

founded 5 years ago
MODERATORS