Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
My recent post proclaimed in substance my faith on Perl6 macros as a device to cast in syntax common programmatic patterns which were not integrated in Perl6 standard syntax. It makes sense because a programmatic pattern may be common in some context but not worthwhile to capture in the standard language. It can also be a way to experiment syntactical devices that can eventually find their way in Perl6 standard syntax.

I was pointed to this artima weblog by a (not yet archived) post in ll1. It says that macro is one of the devices that distinguish LFSPs (Languages For Smart People) and LFMs (Languages for the masse) and goes to analyse their implications.

The blog author cites Gilad Bracha who advocates against the introduction of macros in Java because it is a LFM: The advantages of Java is that it easily serves as a lingua franca - everyone can read a Java program and understand what is going on. User defined macros destroy that property.

What do you think?

-- stefp stefp
Come to YAPC::Europe 2003 in Paris, 23-25 July 2003.


In reply to Macros, LFSPs and LFMs by stefp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found