• DickFiasco@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    10 months ago

    I use a combination of both. Objects are declared const, all members are set in the constructor, all methods are const. It doesn’t really work for some types of programs (e.g. GUIs) but for stuff like number crunching it’s great.