• fubo@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    5 months ago

    C++ programmers always let their friends access their private members, so …

  • arandomthought
    link
    fedilink
    arrow-up
    11
    ·
    5 months ago

    There’s some joke about pointers here that I’m not C++ savvy enough to make.
    I’ll let you workshop it.

  • HStone32@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    4 months ago

    I want to point out that, just like in real life, its the inclusion of that “++” which complicates things. Without them, it would be straightforward and elegant, having only 1 logical solution.

    Makes you wonder why people keep insisting on having the “++” around. Why not ditch them and go back to basics.