3 ms·
Meh, I find C syntax a total non-problem. Don't think I've ever constructed a more complicated type ('directly' so to speak, i.e without typedefs) than an arra
by properparity 4y ago
Meh, I find C syntax a total non-problem.
Don't think I've ever constructed a more complicated type ('directly' so to speak, i.e without typedefs) than an array of function pointers (array of interrupt handlers, taking no arguments, returning void).
99.999(repeating)% of the time I use a typedef for function pointers and nothing looks particular complicated.
- xscott 4y agoYeah, I'm not confused by C's syntax any more either. However, when I was learning it (about 30 years ago), things were very non-obvious. And there are a lot of people who want to throw the baby out with the bathwater. Go is the one that really amuses me here: They broke the "declaration follows usage", which I think is a nice idea, and they still have backwards pointer syntax that needs parentheses to get it right. > Don't think I've ever constructed a more complicated [...] Heh, I'm not sure this is a great argument. It's kind of like saying you don't care about the complexity/details in floating point because you've never needed more than integers. :-)