I had originally planned to read Higher Order Perl and write my review immediately. When it became clear that I wasn't going to read HOP straight through, I figured I'd write a review when I was done. More and more, it looks like my reading of the last two chapters is being indefinitely delayed. I'm going to write what I think so far, while it's still more or less fresh in my mind.
Higher Order Perl was originally going to be given some fairly bland name, like "Handbook of Advancted Perl Techniques." This would have been a spot-on (but uninteresting) title. HOP provides the reader with explanation and demonstration of techniques for problem-solving that are often overlooked. The examples are complex and detailed, but not byzantine, and they're built up slowly, piece by piece, so that each line of code's meaning and significance are made clear.
The title "Higher Order Perl" refers to the book's most central technique, functional programming. While many programmers understand how to abstract a specific solution into a more general one, Dominus helps the reader learn to push the envelope, abstracing generic solutions into extremely generalized solutions that can be applied to seemingly-unrelated problems. This is frequently done by the construction of functions that build functions that build functions -- and so on, functions all the way down. Instead of solving the problem in base, earthly Perl, the programmer produces Perl elements of a higher order which, operating in harmony, become all things to all people.Well, I'm hyperbolizing, but I think it would be hard for me to over-emphasize the value of techniques like closures, iterators, and currying. They are, in part, what make Lisp so powerful, and the marriage of Lisp's power and Perl's expressivity is a happy one.As for the writing, it is good. The language is clear and the material is well-presented. One should be cautioned, though, that the book is dense. Dominus is constantly pressing onward, explaining new techniques or new ways to apply already-explained techniques. I found myself reading each page carefully and deliberately, only to turn back to it a few pages later, to be sure that I understood how the new material was relying on the old. It made the book a challenge to read, but it was a thoroughly enjoyable challenge. I never felt so frustrated by a bizarre idea that I gave up or so bored with an over-explained one that I skipped ahead.
Finally, while the techniques that Dominus presents are powerful and advanced, the required knowledge of Perl is not particularly great. Because he clearly explains the key Perl concepts that he uses (especially closures and associated scoping issues), any competent programmer with a working knowledge of Perl should be able to put the ideas in Higher Order Perl to work.
For serious Perl programmers, Higher Order Perl is a must-read book.
この注文でお急ぎ便、お届け日時指定便を無料体験
Amazonプライム無料体験について
Amazonプライム無料体験について
プライム無料体験をお試しいただけます
プライム無料体験で、この注文から無料配送特典をご利用いただけます。
非会員 | プライム会員 | |
---|---|---|
通常配送 | ¥460 - ¥500* | 無料 |
お急ぎ便 | ¥510 - ¥550 | |
お届け日時指定便 | ¥510 - ¥650 |
*Amazon.co.jp発送商品の注文額 ¥3,500以上は非会員も無料
無料体験はいつでもキャンセルできます。30日のプライム無料体験をぜひお試しください。
無料のKindleアプリをダウンロードして、スマートフォン、タブレット、またはコンピューターで今すぐKindle本を読むことができます。Kindleデバイスは必要ありません。
ウェブ版Kindleなら、お使いのブラウザですぐにお読みいただけます。
携帯電話のカメラを使用する - 以下のコードをスキャンし、Kindleアプリをダウンロードしてください。
Higher-Order Perl: Transforming Programs with Programs ペーパーバック – イラスト付き, 2005/3/14
英語版
Mark Dominus
(著)
このページの読み込み中に問題が発生しました。もう一度試してください。
{"desktop_buybox_group_1":[{"displayPrice":"¥11,378","priceAmount":11378.00,"currencySymbol":"¥","integerValue":"11,378","decimalSeparator":null,"fractionalValue":null,"symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"FfPu0SYQyl7YH%2FaDfWU4VflAgiIfG97jbWX8mRMLrOThbKVSkZ7TyVrkS%2BCEHC6ormh9lLc5PaB1YWKcD95i9%2B%2ByU9hmF5Jcp2FC94tvuJmKHGUp8YaY6mOhL%2FDo3uG6","locale":"ja-JP","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"¥4,853","priceAmount":4853.00,"currencySymbol":"¥","integerValue":"4,853","decimalSeparator":null,"fractionalValue":null,"symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"FfPu0SYQyl7YH%2FaDfWU4VflAgiIfG97jzWAWS0uVJ3lHo%2F0KPG33xOY570%2FVUZ%2B0j4OolEMGB%2FzhQ7Zv4MeDfEBlqcJrBr%2BQ%2B3R8fkDChCjhCRnw6Bf03OiEsQVAZbsKmxL7DNWT8pXuxGj5kzv1gW9tW34Om124xkqLfwLeigiIl1bkfrUs9Q%3D%3D","locale":"ja-JP","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}
購入オプションとあわせ買い
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.
- 本の長さ600ページ
- 言語英語
- 出版社Morgan Kaufmann
- 発売日2005/3/14
- 寸法18.8 x 3.45 x 23.88 cm
- ISBN-101558607013
- ISBN-13978-1558607019
商品の説明
レビュー
“It's well written…everyone who claims to be an expert ought to read it…these techniques allow programmers to accomplish far more than they're used to." --Gregory V. Wilson, Dr. Dobb's Journal, November 2005"It is, quite simply, one of the best books on programming I have read for a long time." --Martin Schweitzer, Computing Reviews, Association for Computing Machinery, July 2005"Mark Jason Dominus has hit his mark with Higher Order Perl. It is a very informative book that is a must read for Perl programmers who want to take their skills to the next level. --Mark Rutz, Linux Journal, November 2005“Higher-Order Perl is one of the Perl books that should have a place on the bookshelf of every Perl programmer. It offers an in-depth understanding of important programming techniques and fundamental concepts. The chapter on parsing alone is worth the price of this book. I do not know a better text about parsing in Perl. --Reinhard Voglmaier, Unix Review, November 2005“Higher-Order Perl is the most exciting, most clearly-written, most comprehensive, and most forward-looking programming book I've read in at least ten years. It's your map to the future of programming in any language." --Sean M. Burke, Leading Programmer, Comprehensive Perl Archive Network (CPAN)"There are lots of book that teach you new Perl modules or techniques. This book goes beyond that and teaches a new way to think about Perl programming. --Peter Norvig, Google Inc.“As a programmer, your bookshelf is probably overflowing with books that did nothing to change the way you program. . . or think about programming.You're going to need a completely different shelf for this book.While discussing caching techniques in Chapter 3, Mark Jason Dominus points out how a large enough increase in power can change the fundamental way you think about a technology. And that's precisely what this entire book does for Perl.It raids the deepest vaults and highest towers of Computer Science, and transforms the many arcane treasures it finds--recursion, iterators, filters, memoization, partitioning, numerical methods, higher-order functions, currying, cutsorting, grammar-based parsing, lazy evaluation, and constraint programming--into powerful and practical tools for real-world programming tasks: file system interactions, HTML processing, database access, web spidering, typesetting, mail processing, home finance, text outlining, and diagram generation.Along the way it also scatters smaller (but equally invaluable) gems, like the elegant explanation of the difference between 'scope' and 'duration' in Chapter 3, or the careful exploration of how best to return error flags in Chapter 4. It even has practical tips for Perl evangelists.Dominus presents even the most complex ideas in simple, comprehensible ways, but never compromises on the precision and attention to detail for which he is so widely and justly admired.His writing is―as always―lucid, eloquent, witty, and compelling.Aptly named, this truly is a Perl book of a higher order, and essential reading for every serious Perl programmer. --Damian Conway, Co-designer of Perl 6“Higher-Order Perl is a terrific book targeted at the advanced Perl programmer with a significant computer science background. The tone, content, and code make Higher-Order Perl memorable; the knowledge, wisdom, and intuition it provides make it a book any Perl programmer should aim to understand and digest in full." --Teodor Zlatanov, Programmer, Gold Software Systems
著者について
Mark Jason Dominus has been programming in Perl professionally since 1992, when he was a UNIX sysadmin with the University of Pennsylvania Department of Computer and Information Sciences. Mark is an occasional contributor to the Perl Core, and is the author of the standard perlreftut man page as well as the Tie::File, Text::Template, and Memoize modules. From 1999-2001, Mark was the managing editor of the www.perl.com website. He was also a columnist for The Perl Journal for several years. All of his articles for TPJ have been reprinted in Computer Science and Perl Programming: Best of the Perl Journal, from O'Reilly and Associates. Mark's other Perl-related articles have appeared in magazines such as Wiredand IEEE Software. Since 1998, Mark has been a professional Perl trainer. In addition to speaking at conferences such as YAPC, the O'Reilly Open Source Conferences, Usenix, and LISA, he has given training courses for large companies and organizations, including Morgan Stanley, IBM, Bristol-Myers Squibb, and the U.S. Air Force. Mark's work on Rx, a Perl regular expression debugger, won the 2001 Larry Wall Award for Practical Utility
登録情報
- 出版社 : Morgan Kaufmann; 第1版 (2005/3/14)
- 発売日 : 2005/3/14
- 言語 : 英語
- ペーパーバック : 600ページ
- ISBN-10 : 1558607013
- ISBN-13 : 978-1558607019
- 寸法 : 18.8 x 3.45 x 23.88 cm
- カスタマーレビュー:
著者について
著者をフォローして、新作のアップデートや改善されたおすすめを入手してください。
著者の本をもっと見つけたり、似たような著者を調べたり、おすすめの本を読んだりできます。
カスタマーレビュー
星5つ中4.7つ
5つのうち4.7つ
26グローバルレーティング
- 星5つ星4つ星3つ星2つ星1つ星5つ77%16%7%0%0%77%
- 星5つ星4つ星3つ星2つ星1つ星4つ77%16%7%0%0%16%
- 星5つ星4つ星3つ星2つ星1つ星3つ77%16%7%0%0%7%
- 星5つ星4つ星3つ星2つ星1つ星2つ77%16%7%0%0%0%
- 星5つ星4つ星3つ星2つ星1つ星1つ77%16%7%0%0%0%
評価はどのように計算されますか?
全体的な星の評価と星ごとの割合の内訳を計算するために、単純な平均は使用されません。その代わり、レビューの日時がどれだけ新しいかや、レビューアーがAmazonで商品を購入したかどうかなどが考慮されます。また、レビューを分析して信頼性が検証されます。
他の国からのトップレビュー
-
Ricardo Signes2007年8月5日にアメリカ合衆国でレビュー済み
5つ星のうち5.0 a must-read book for serious Perl programmers
Amazonで購入 -
ejr2022年10月18日にアメリカ合衆国でレビュー済み
5つ星のうち5.0 Great book on higher programming
Amazonで購入Great book, it covers higher-order programming using Perl, which is a very good language to know. I recommend this book even if you don't know Perl and have no intention of using it. You will derive much benefit being exposed to a flexible language that allows you to use mind-expanding conceptual techniques to raise your programming horizons.
-
okcomputer2015年12月22日にアメリカ合衆国でレビュー済み
5つ星のうち4.0 Over my head, but still a great read!
Amazonで購入I bought this book because the price was right, but i was overwhelmed by the actual content. This is clearly a book for the expert perl coder, and i barely consider myself a beginner. You will certainly see some code examples that are quite impressive in what can be done in a few short lines of perl, and even if you are a long-time perl hacker I can't see anyone not benefitting from reading this book.
-
mf2005年3月28日にアメリカ合衆国でレビュー済み
5つ星のうち5.0 An instant classic
Amazonで購入Many in the Perl community have been eagerly awaiting Higher Order Perl, and they will not be dissapointed. Not only is this a great Perl book, it's one of the best general computer science texts I've read in a long time. Dominus focuses on the functional, LISP-like aspects of Perl, breaking readers of the procedural habits they have developed writing Perl code. The book starts with a few simple examples of callbacks and closures, and quickly moves on to developing functions that dynamically manufacture and return other functions. These techniques are used to their fullest potential as Dominus shows us how to use dynamic iterators to eliminate recursion; an invaluable technique considering Perl's lack of tail call optimization. Further techniques include using iterators to transform other iterators (analagous to Perl's map function), currying, using linked lists to create "lazy" streams that produce their data upon request, and function memoization. Dominus also makes digressions into Perl internals, giving the reader a magnificent depth of understanding about how these techniques actually function under the hood.
-
SchmidtD2021年5月1日にアメリカ合衆国でレビュー済み
5つ星のうち5.0 Mind-bending odyssey
Amazonで購入While Perl may be going out of fashion, I put this book with Meyer's Eiffel book on OOP: the language doesn't really matter; the concepts are so clearly explained and the book is so entertaining that it transforms a person's way of thinking. Right now, of course, the fundamentals of OOP are far more practical than the metaprogramming HOP discusses. However, with the coming of AI programming systems, higher-order programming may have its place yet.