Re:Modern C, Second Edition
by guerrilla on Wednesday September 18, 2019 @02:52PM
(#21008665)
See wahern and my response to the grandparent.
[ Parent
| on HN ]
Re:Modern C, Second Edition
by mumblemumble on Wednesday September 18, 2019 @03:14PM
(#21008887)
So, IOW, it's not purely a point of style, it's more about what's a sane way to write things given the requirements of the language's syntax when you're dealing with pointer declarations?
Which would explain why it seems so odd to me; I spent a fair amount of time in C-style languages, but typically only ones that lack pointers.
I think it can be both, plus communication: communication to n00bs, to yourself in the future if you're really tired, etc.
Re:Modern C, Second Edition
by mumblemumble on Wednesday September 18, 2019 @04:06PM
(#21009498)
Though, if the goal is communication, wouldn't it be clearer still to use typedefs to clean up more complex declarations a bit? Or does that end up making things worse?