Higher-Order Perl Available For Free Download
Christopher Cashell writes "As noted on Perlbuzz, Mark Jason Dominus's amazing book, Higher-Order Perl, is now available for free download. This is a great book that goes way beyond your normal programming reference. This will change the way you look at programs, and make you a better programmer in any language. It sits on that special shelf reserved for books like Structure and Interpretation of Computer Programs, The C Programming Language, and The Practice of Programming."
It is truly awesome that mjd is making this available for free.
It's still worth buying the dead tree version, though.
Funny, I would have thought it sat on a hard drive or a usb key or something ...
"You have downloads on my bookshelf!"
"You have bookshelves on my downloads!"
Nope, sorry -unlike peanut butter and chocolate, downloads don't mix with bookshelves.
a good programmer can write a script which does the same thing whether run in perl or executed as sendmail.cf
You didn't RTFB, did you?
...and both are equally readable!
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
No, shurely vi?
He dedicated his book to a truck?
I just got this book from the library for the first time two weeks ago. I'm pleased that I will only have to have checked it out once.
Kudos and thanks, mjd.
Q: What did the comedian say to the crowd?
A: If I knew, this joke would be funny.
He's just welcoming our new Zombie Overlords
.
All programs written in higher-order perl start with the following line:
#!/usr/bong/perl
Anybody want my mod points?
If you can tell me why Perl is so popular, I think I can answer your question. It seems pretty clear that there is a large intersection between "people who love Perl" and "people who never had exposure to functional programming".
Thank you for the link, I am downloading the book and I will probably pour over it on my Christmas break. I don't think Perl is dead, there are jobs in my city with some high profile companies that need Perl developers. Just my two cents. I am not sure about other cities though.
It's interesting you mention FP. One of the most interesting parts of Higher Order Perl, in my opinion, is the parser generator Dominus builds up. In response to an email about it, Dominus told me he'd adapted it from Structured ML for the Working Programmer.
I bought the book quite a while back. And I wouldn't expect them to publish it with the title it should have: how to write perl so well you look like you are using python.
SLASHDOT: news for people who can't concentrate on work or have no life at all and got tired of yelling back at the TV.
They give the book away for free, but neglect to mention the metaphorical bookshelf you need to sit it on?
A clever ruse, and the fools almost got away with it. But they failed to realize that Slashdot has a Sicilian in it's ranks!
How can I believe you when you tell me what I don't want to hear?
Actually, they sell the book in the dead tree form that would sit on the book shelf.
This story is about them giving that book away free of charge in electronic form.
I run a web site that catalogs free books and accepts user-submitted reviews (see my sig). Reviews of this book would be welcome.
I read a couple of chapters online, and it seemed pretty cool. I'm interested in learning FP techniques, and it was really nice to be able to learn about techniques like memoization in the context of a language whose syntax I already know. I can glance through the code examples and say, "Aha, I get it!" instead of laboriously poring over code listings in lisp or haskell and saying, after 15 minutes of study, "Okay, I know what the first eleven characters on line 1 do."
I also liked the opportunity to see some of the nontrivial things that happen when you apply FP techniques to a language that isn't a pure FP language. E.g., I already knew that FP techniques focused on functions without side-effects, but I hadn't realized that the same applied to functions that return references. He also has some interesting examples of how OO and FP go together, common pitfalls of combining them, etc.
Find free books.
Don't call me Shirley!
Infuriate left and right
It's interesting you mention FP.
Yes, what a strange coincidence that functional programming has something to do with "higher order".
Yeah but "Nailing Jelly To A Tree" is still on my highest bookshelf.
I'd rather have a free bottle in front of me than a prefrontal lobotomy.
And you never go in against a Sicilian when death is on the line! That's almost as big a blunder as getting involved in a land war in Asia!
"Total destruction the only solution" - Bob Marley
Actually, I tried to learn functional programming techniques with Emacs lisp and again with Scheme, and I never really understood what was going on. Then someone on Perlmonks explained how lexical closures work, and it just made *sense*.
I also never understood continuations in Scheme, and then someone on a Perl mailing list explained them (in the context of Perl6, which, granted, is still not ready five years later) and, again, it actually made sense.
Cut that out, or I will ship you to Norilsk in a box.
From TFA:
You may remember I wanted to turn the book into a wiki. That would have been awesome. But the book's fourth anniversary is coming up this spring and I have to admit to myself that I'm not gonna get the wiki together. So I'm posting the thing already.
So, perhaps if he put a bare wiki up, everyone could c&p a page at a time?
Well, it took longer than I expected, but looks like there was at least *one* knee-jerk moderator out there! :D
Anybody else who comes along, mod parent up! I shouldn't have to explain why, if you - you know - like *read* the summary...
I'm done with sigs. Sigs are lame.