Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^3: Overcoming addiction to Lisp

by Anonymous Monk
on Jun 16, 2005 at 21:13 UTC ( #467445=note: print w/replies, xml ) Need Help??

in reply to Re^2: Overcoming addiction to Lisp
in thread Overcoming addiction to Lisp

Replies are listed 'Best First'.
Re^4: Overcoming addiction to Lisp
by Anonymous Monk on Jun 16, 2005 at 21:26 UTC
    What is the special feature about those examples that couldn't have been done just as well (or succinctly, or whatever) without macros?
      All three (in different ways) aim to provide a syntax for concisely expressing something that otherwise could only be expressed via some (rather convoluted) coding patterns. That is, they provide syntactic abstractions (which is what macros are really all about.) But you'll get a far better explanation from the chapters I pointed to than I'll be able to type her in this browser window. -Peter
        I typed in MP3, ID3 over at CPAN, and it came up with a module who's core seems to be about 150 lines. And the real meat seems to be...
        (undef, @{$self->{tag}}{qw/title artist album year comment genre_num +/}) = unpack('a3a30a30a30a4a30C1', $buffer);

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2019-03-26 18:59 GMT
Find Nodes?
    Voting Booth?
    How do you Carpe diem?

    Results (125 votes). Check out past polls.