Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Macros, LFSPs and LFMs

by webfiend (Vicar)
on Jun 11, 2003 at 19:20 UTC ( #265143=note: print w/replies, xml ) Need Help??

in reply to Macros, LFSPs and LFMs

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 :-)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://265143]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2016-10-23 04:05 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (300 votes). Check out past polls.