News for hackers. Stuff that matters.
Re:C will never stop you from making mistakes by mbreedlove on Monday August 10, 2020 @09:57AM (#24109273)
I've always struggled with this, I usually use the first style. To me, Bark and Bark* are both types, while the name p_dog is just a name regardless of what it's referring to.

I read the first as 'a struct of type Bark pointer named p_dog'.

How do you read the second example in your head?

Re:C will never stop you from making mistakes by bigdict on Monday August 10, 2020 @10:01AM (#24109312)
Re:C will never stop you from making mistakes by rootbear on Monday August 10, 2020 @10:13AM (#24109453)
Pointer to type "struct Bark".