• owsei@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    9 months ago

    tbh I always think about it as ‘p’ is a pointer to int

    therefore *p is an int

    therefore I should call it int *p;

    however, of course, you should use what your team prefers. Having good yet inconsistent style is worst than mid consistent style.