• 1 Post
  • 44 Comments
Joined 3 years ago
cake
Cake day: June 23rd, 2023

help-circle
















  • owsei@lemmy.worldtoProgrammer HumorWhitespace
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    2 years 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.