62
submitted 9 months ago by hairinmybellybutt to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] alokir 6 points 9 months ago

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

[-] [email protected] 3 points 9 months 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

this post was submitted on 02 Jul 2023
62 points (90.8% liked)

Programmer Humor

30571 readers
964 users here now

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

Rules:

founded 4 years ago
MODERATORS