hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoobject.setobject(object.getobject().object).to_object()lemmy.worldimagemessage-square11fedilinkarrow-up147arrow-down16
arrow-up141arrow-down1imageobject.setobject(object.getobject().object).to_object()lemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square11fedilink
minus-squarealokir@lemmy.worldlinkfedilinkarrow-up3·1 year agoWait until you hear about the concept of properties in languages like Javascript, C#, Kotlin and many others.
minus-squarerelevants@feddit.delinkfedilinkarrow-up2·1 year agoAt 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
Wait until you hear about the concept of properties in languages like Javascript, C#, Kotlin and many others.
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