• alokir@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

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

    • relevants@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      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