Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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.


Comment on Re: Beautiful Perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-07-28 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls