Free online book Higher-Order Perl by by Mark Jason Dominus is about functional programming techniques in Perl. It’s about how to write functions that can modify and manufacture other functions.
Book Description
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.
Table of Contents
- Recursion and Callbacks
- Dispatch Tables
- Caching and Memoization
- Iterators
- From Recursion to Iterators
- Infinite Streams
- Higher-Order Functions
- Parsing
- Declarative Programming
Download Free PDF / Read Online
Author(s): Mark Jason Dominus
Format(s): PDF
File size: 1.92 MB
Number of pages: 592
Link: Download.
Format(s): PDF
File size: 1.92 MB
Number of pages: 592
Link: Download.