Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 scrutinizing the Monastery: (12)
As of 2014-10-20 22:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (92 votes), past polls