<?xml version="1.0" encoding="windows-1252"?>
<node id="265084" title="Macros, LFSPs and LFMs" created="2003-06-11 12:16:28" updated="2005-08-14 00:35:40">
<type id="120">
perlmeditation</type>
<author id="31579">
stefp</author>
<data>
<field name="doctext">
My recent [id://261701|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.

&lt;p&gt;


I was pointed to
this &lt;a href="http://www.artima.com/weblogs/viewpost.jsp?thread=5246"&gt;artima weblog&lt;/a&gt; by a (not yet archived) post in &lt;a href="http://www.ai.mit.edu/~gregs/ll1-discuss-archive-html/maillist.html"&gt;ll1&lt;/a&gt;. 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.
&lt;p&gt;

The blog author cites Gilad Bracha who advocates against the introduction
of macros in Java because it is a LFM:

&lt;i&gt;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.&lt;/i&gt;&lt;p&gt;

What do you think?




&lt;p&gt; -- [stefp]
stefp&lt;/a&gt; &lt;br&gt;
Come to &lt;a href="http://yapc.mongueurs.net/"&gt;YAPC::Europe 2003&lt;/a&gt; in Paris, 23-25 July 2003.</field>
</data>
</node>
