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 :-)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||