|
|
|
|
|
by inspector-g
2120 days ago
|
|
When I was learning C a couple decades ago, pointer syntax never made any sense to me until something suddenly clicked with “put it directly next to the type name and not next to the variable name”. Ever since then I have not been able to figure out why it is commonly taught next to the variable name. I mean, short of enabling declarations like: char *a, *b;
But I have long since found the tradeoff to be worth the syntactic clarity. |
|