My advice on implementing stuff in C:
My advice on implementing stuff in C:
Posted Oct 18, 2010 8:51 UTC (Mon) by marcH (subscriber, #57642)In reply to: My advice on implementing stuff in C: by cmccabe
Parent article: Russell: On C Library Implementation
Sorry but this is not good enough: it does not scale. Whereas most module systems allow nesting, "static" in C gives you only one level. And this puts severe constraints on how you split your project into files.
> Java designers believed that they were beyond the need for a macro system. The result was that an ugly mass of automatic code generators got written to do the things that a macro system would have done.
While I share the hate for these code generators, a macro system does not seem like the solution to me. Examples?
