KBD

Keith Devens .com

Saturday, August 30, 2008 Flag waving
Any sufficiently complicated C or Fortran program contains an ad hoc, informally specified, bug-ridden, slow implementation of half of... – Philip Greenspun (Greenspun's Tenth Rule)

Archive: April 07, 2005

← April 06, 2005April 08, 2005 →

Daily link icon Thursday, April 7, 2005

Higher-Order Perl, by Mark Jason Dominus

Higher-Order Perl, by Mark Jason Dominus (Via use Perl;):

Higher-Order Perl is about functional programming techniques in Perl. It's about how to write functions that can modify and manufacture other functions.

Why would you want to do that? Because that way your code is more flexible and more reusable. Instead of writing ten similar functions, you write a general pattern or framework that can generate the functions you want; then you generate just the functions you need according to the pattern. The program doesn't need to know in advance which functions are necessary; it can generate them as needed. Instead of writing the complete program yourself, you get the computer to write it for you.

My contract says that after the book is published I can distribute the complete text from my web site. The content of my book will be available to everyone everywhere for free. Watch this space for updates.

Make sure you check out About the Cover.

Hmm, also see this article on Higher order functions from IBM developerWorks (to read), via LtU.

  1. I linked to a post at PoliPundit about it earlier, but how awesome is it that Iraq elected a Kurdish president, and with Saddam still around to see it to boot? Poetic justice indeed. Other link via LGF.

       (0) Tags: [Opinions/Politics]
  2. Mudville Gazette: What if They had a Tet Offensive and Nobody Came?, via Glenn.

       (0) Tags: [Opinions/Politics]
← April 06, 2005April 08, 2005 →
August 2008
SunMonTueWedThuFriSat
 12
3456789
10111213141516
17181920212223
24252627282930
31 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

new⇒Girls, please don't get breast implants

http://when-3.ofawyib.net​http://girls-24.iniexka.net​http://swingers-4.emy...

Henry: Aug 30, 4:15am

new⇒Johnny Walker Blue Label

Wow, thanks for the scotch review​:D

Lagavulin and Laphroaig are​some of...

Keith: Aug 29, 3:35pm

Generated in about 0.055s.

(Used 7 db queries)

mobile phone