On Tue, 17 Feb 2026 16:57:35 -0500, Phil Smith III <[email protected]> wrote:

>I'm continually appalled by how weak C macros are

C's motto, why bother doing something once in the compiler when you can do it 
millions of times at run time. Consider the highly inefficient PRINTF where the 
first argument is parsed every time it executes instead of being parsed at 
compile time. C macros are an embarrassment because they show how little the 
industry understands the power of a true macro language.

Realize that GO is even worse because it does not have a macro language. Twice, 
I requested macro support only to be told I could implement a pre-processor.

HLASM macros needs many improvements but at least IBM understood their 
importance (e.g. open, close, DCB, VSAM and more).

Reply via email to