this post was submitted on 02 Jul 2023
33 points (86.7% liked)

Programmer Humor

32063 readers
911 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] 4 points 1 year ago (1 children)

Wait until you hear about the concept of properties in languages like Javascript, C#, Kotlin and many others.

[โ€“] [email protected] 2 points 1 year ago

At least for Kotlin it's literally just syntactic sugar for getter and setter methods. I really like them, don't get me wrong, but it's just the bottom approach masquerading as the top approach