• DarthFrodo@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    1 year ago

    The neat thing is, you can add stuff like range checks and logging for getters and setters without changing every call. Separation of concerns is also vital in larger projects.