Hacker News new | past | comments | ask | show | jobs | submit login

That's why I declare pointer variables one to a line. Wish the language would work the other way with the asterisk associativity. Mainly because this just looks wrong to me:

  int *p, *q;

  typedef int *intp;
  intp p, q;
That just screams that the * belongs to the type and not the variable name.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: