• @sugar_in_your_tea
    link
    26 months ago

    Yup. I pretty much only use it if I need to ensure new values are valid or provide a default value.

    I do the same in other languages, like C# and JavaScript. Properties are cool, but should be quite rare.