News for hackers. Stuff that matters.
Re:Massacring C Pointers (2018) by _hexley_ on Friday September 04, 2020 @10:46PM (#24381008)
In my own projects, I like to put the * on its own, like so:

  int const * const i;
This is nice because you can naturally read the signature from right to left. "i" is a constant pointer to a constant integer. It's a little unconventional, but I think it's a really clear way to convey the types.

There are no comments on this comment yet.