Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Beautiful Perl

by tall_man (Parson)
on Mar 26, 2005 at 14:01 UTC ( #442482=note: print w/replies, xml ) Need Help??

in reply to Beautiful Perl

For me, beauty in a programming language is when an idea can be expressed simply and elegantly, doing something non-trivial in less lines than one would expect.

The new Higher Order Perl book by Dominus has many good examples. There's a recursive Tower of Hanoi solver in about 15 lines, a directory walker with hooks to plug in your own functions, and many more examples.

People who think perl is ugly have probably been using it as a slower C, instead of as the elegant, powerful language it is.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2016-10-27 18:15 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (368 votes). Check out past polls.