J
Jerry Coffin
[ ... ]
Right -- I didn't mean to imply that it was necessarily an attempt at
being like an assembler, just that they seem to be looking for a
relatively obscure source, when a much more obvious one is available.
How can you ask such foolish question? They're on a chivalrous quest!
Lisp will now be called "Dulcinea", and they will protect all from
the cruel windmills!
I'm not sure that macros were added because C was trying to be
like assembler---C's macros are a lot weaker than anything I've
seen in assembler---, but what is sure is that all assemblers
back then did have some support for macros, and that the people
developing C were very familiar with assembler, and macro
technology, so when the need for e.g. "inline functions" was
felt, macros would be a more or less natural response.
Right -- I didn't mean to imply that it was necessarily an attempt at
being like an assembler, just that they seem to be looking for a
relatively obscure source, when a much more obvious one is available.
What I don't get is Lisp proponents trying to imply that C
macros are derived from Lisp. Even if it were true, it's
something that I'd try to hide, rather than claim credit for;
C's preprocessor are not exactly the best feature of the
language.
How can you ask such foolish question? They're on a chivalrous quest!
Lisp will now be called "Dulcinea", and they will protect all from
the cruel windmills!