Re:Stress impairs cognitive functions - The loss of those fu...
by jdvolz on Sunday January 13, 2008 @01:04AM
(#97772)
I agree this is an issue with the C syntax. I always used to write my pointer declarations as:
char* p
instead of
char p
That way there was no clash with when you are dereferencing p -
p
Admittedly this approach may not help entirely with more complex examples, like a pointer to a function that returns a point to a function that takes two pointers to void...or something. Indeed having languages that create less accidental complexity is a huge win.
char* p
instead of
char p
That way there was no clash with when you are dereferencing p -
p
Admittedly this approach may not help entirely with more complex examples, like a pointer to a function that returns a point to a function that takes two pointers to void...or something. Indeed having languages that create less accidental complexity is a huge win.