JPDev@programming.dev to Programmer Humor@programming.dev · 9 months agoWhitespaceprogramming.devimagemessage-square59fedilinkarrow-up1305arrow-down112
arrow-up1293arrow-down1imageWhitespaceprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 9 months agomessage-square59fedilink
minus-squareowsei@lemmy.worldlinkfedilinkarrow-up4arrow-down1·9 months agotbh 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.
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.