Higher-Order Perl: Transforming Programs with Programs

简介:
这是一本书,目的是教具有强大C和Unix背景的Perl程序员如何使用像Lisp这样的函数式编程语言的根源技术,这些语言在Perl中也可用,但鲜为人知。
大多数Perl程序员最初被训练成C和Unix程序员,所以他们编写的Perl程序与C程序非常相似。但是,Perl包含了许多起源于其他语言 (如Lisp) 的特性。这些高级特性没有被很好地理解,并且很少被大多数Perl程序员使用,但是它们非常强大。他们可以自动执行日常编程中难以用任何其他方式解决的任务。这些技术中最强大的技术之一是编写制造或修改其他函数的函数。例如,程序员可以编写通用模式或框架,而不是编写十个类似的函数,然后可以根据该模式创建所需的函数。
几年来,Mark Jason Dominus一直致力于将函数式编程技术应用于Perl。现在,马克带来了这些灵活的编程方法,他已经成功地在众多的教程和培训课程教更广泛的受众。
介绍强大的编程方法-对大多数Perl程序员来说是新的-以前是计算机科学家的领域通过描述渐进复杂的技术逐渐建立信心展示了如何改进日常程序,并包括许多引人入胜的代码示例来说明这些方法
英文简介:
This is a book written with the goal to teach Perl programmers with a strong C and Unix background how to use techniques with roots in functional programming languages like Lisp that are available in Perl as well, but less known.
Most Perl programmers were originally trained as C and Unix programmers, so the Perl programs that they write bear a strong resemblance to C programs. However, Perl incorporates many features that have their roots in other languages such as Lisp. These advanced features are not well understood and are rarely used by most Perl programmers, but they are very powerful. They can automate tasks in everyday programming that are difficult to solve in any other way. One of the most powerful of these techniques is writing functions that manufacture or modify other functions. For example, instead of writing ten similar functions, a programmer can write a general pattern or framework that can then create the functions as needed according to the pattern.
For several years Mark Jason Dominus has worked to apply functional programming techniques to Perl. Now Mark brings these flexible programming methods that he has successfully taught in numerous tutorials and training sessions to a wider audience.
Introduces powerful programming methods - new to most Perl programmers - that were previously the domain of computer scientistsGradually builds up confidence by describing techniques of progressive sophisticationShows how to improve everyday programs and includes numerous engaging code examples to illustrate the methods
- 书名
- Higher-Order Perl: Transforming Programs with Programs
- 译名
- 高阶 Perl:用程序转换程序
- 语言
- 英语
- 年份
- 2005
- 页数
- 592页
- 大小
- 1.94 MB
- 标签
- Perl
- 下载
Higher-Order Perl: Transforming Programs with Programs.pdf
- 密码
- 65536
最后更新:2025-04-12 23:54:37