I'm looking forward to macros. I agree with other posts that the "LFSP/LFM" split can be arbitrary. If you're going to use that split, however, Perl is explicitly both. Beginners can use Perl baby talk to get stuff done, while advanced folks are doing brain-twisting stuff with tied variables, objects, and closures (oh my!). I'm reasonably certain that baby-talk Perl folks will shy away from macros until they feel ready.
The only reservation I have is the possibility that naive developers will end up using a macro to reimplement a language feature that already exists. If they were doing this as an education exercise, it makes perfect sense. There's just this nagging feeling that somebody will put them in production code, and we'll be the ones who get to maintain / repair their code somewhere down the line :-)
-
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.
|