Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Higher Order Perl

by aplonis (Pilgrim)
on Jan 18, 2007 at 01:07 UTC ( [id://595173]=note: print w/replies, xml ) Need Help??


in reply to Higher Order Perl

I think that, second only in importance to the Perl Black Book (which was essential to me when I was just starting to get serious in Perl), this book Higher Order Perl will influence my future direction in programming Perl. It is prompting me to turn 90 degrees from my usual ways of doing things.

This functional programming business really has stuff going for it. It's neat and ultra squeaky clean. I expect to make even more use of FP come Perl6 as development there is being pushed ahead using Haskel, which is purely FP, if I read the docs correctly. At least that is gist I am getting so far.

I actually had some exposure before, all unbeknownst. I didn't have a clue at the time, three years ago, when I got into XSLT, that it was this functional programming thing I had let myself in for. All I remember thinking was, "What the hell? No variables? Just constants? Whose cruel jest was that?". But being just then downsized and with nothing much else to do, I set about learning XSLT so as to lessen my HTML-coding burden. All those how-to pages to update. What a chore.... XSLT was the answer to lightening that burden. And what do you know but that there really was a lot that I could do without a single changeable variable. I just kind of got used to it because with XSLT there was not any alternative except to do without changeable variables. All this while I had no clue that it was an acutal paradigm. It went over my head as just another programming buzzword until there arrived my copy of HOP.

HOP is now my favorite Perl book. I'm only into the third chapter and already it has paid for itself twice over. I had the book hardly a week before I was calling up recent Perl code, yanking out ugly if-elsif-else structures and replacing them with nice, compact dispatch tables.

How this started was that, figuring to expand my coding horizons, I'd looked briefly at Haskel...but only on account of the Perl6 connection. It looked vaguely familar, sorta-kinda, paradigm-wise...but it just didn't grab me. And there was no mention of a GUI that I could find. So I set that aside. Then followed a dreary flirtation with pragmatism which setteled me upon C++. I'd bought half a dozen thick books on it and even installed several compilers on the Win32 (Yes, indeed..."Ewwwww!" But they always seem to have those, don't they?) laptop from work. And while I was browsing for yet another C++ tome, I chanced across HOP, and got that one too, just on a whim. Since its arrival those C++ volumes have started collecting dust. I'll get back to them...eventually...maybe...well, just maybe.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (None)
    As of 2024-04-25 01:51 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found