Re: Explanation of macros; Haskell macros

From: Stephen J. Bevan (stephen_at_dino.dnsalias.com)
Date: 11/07/03


Date: Fri, 07 Nov 2003 02:22:21 GMT


"Coby Beck" <cbeck@mercury.bc.ca> writes:
[big snip]
> But back to macros, and really any language feature, they are all just tools
> and it is always a judgment call as to what the best tool for a job is and
> judgements are always subjective. It is very hard to convince anyone that a
> tool they are completely unfamiliar with is the best one for some problem
> they never thought they had.

Indeed. That's why I suggested if one wants to convince someone of
the utility of macros one has to find out what problems they are
trying to solve and show how macros can help them solve those
problems (obviously takes time and effort). Attempts to show the
utility of macros by showing how one solves one's own problems using
them tend to miss the mark unless one is lucky and others are trying
to solve the same problems.



Relevant Pages

  • Re: Multiple Statements per Line
    ... Perhaps you are so arrogant as to think you can convince the world to ... It does when you have as many macros as you do instructions, ... lines don't help readability quite as much, ...
    (alt.lang.asm)
  • Re: Explanation of macros; Haskell macros
    ... [big snip] ... > But back to macros, and really any language feature, they are all just tools ... That's why I suggested if one wants to convince someone of ...
    (comp.lang.lisp)
  • Re: Hey Mr. Hyde!
    ... > we humans put up around Earth, the influence of Earth's gravity does ... So the art of orbiting is "falling towards the Earth and missing" ... implemented in macros), namespace and parse/operator macros. ...
    (alt.lang.asm)
  • Re: The textbook ASSEMBLERS AND LOADERS...
    ... Betov wrote: ... > What is simply absurd. ... see oop.asm for the 'class' macros.) ...
    (alt.lang.asm)
  • Re: Various newbie DeskLib questions
    ... In message, Darren Salt ... myself for actually achieving something, I'm going to share it here :-) ... Your macros need to be blockified ...
    (comp.sys.acorn.programmer)