Re:Writing code that writes code – Hack Codegen
by kazinator on Thursday August 20, 2015 @08:49PM
(#10095423)
Nice easter egg: "autoconf & friends" buried in the middle of a paragraph that appears to be about robust code generation.
Re:Writing code that writes code – Hack Codegen
by nostrademons on Thursday August 20, 2015 @08:57PM
(#10095437)
"Well, some people use it." Particularly toward the end of the list, there'll be more and more examples where people hate the code generation aspect (for example, I've personally had bad experiences with any JS technology that requires a build step). That doesn't change the fact that they're widely used; autoconf, for example, was mandated for all Google-owned open-source C/C++ libraries, because despite its kludginess, it will build on virtually everything.
When it works, you forget that the only thing that computers understand is their native instruction set, and everything on top of that is built on some form of codegen. When it doesn't, you curse out the programmer who left you a pile of buggy scripts to maintain.