this post was submitted on 02 Jul 2023
61 points (89.6% liked)

Programmer Humor

31434 readers
1647 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
[โ€“] alokir 6 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] 3 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