• ShortFuse@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    9 months ago

    I don’t code much C++, but then I’d lose alignment with: x = *p; and I feel that would bug me.

    I’m looking at Google Style Guide for my next project and it says either is fine, just don’t declare more than one per line.