Mastering Algorithms with Perl (Paperback)

Jarkko Hietaniemi, John Macdonald, Jon Orwant

  • 出版商: O'Reilly
  • 出版日期: 1999-09-21
  • 定價: $1,400
  • 售價: 9.5$1,330
  • 貴賓價: 9.0$1,260
  • 語言: 英文
  • 頁數: 706
  • 裝訂: Paperback
  • ISBN: 1565923987
  • ISBN-13: 9781565923980
  • 相關分類: Perl 程式語言Algorithms-data-structures
  • 立即出貨 (庫存 < 4)

買這商品的人也買了...

商品描述

Many programmers would love to use Perl for projects that involve heavy lifting, but miss the many traditional algorithms that textbooks teach for other languages. Computer scientists have identified many techniques that a wide range of programs need, such as:

  • Fuzzy pattern matching for text (identify misspellings!)
  • Finding correlations in data
  • Game-playing algorithms
  • Predicting phenomena such as Web traffic
  • Polynomial and spline fitting
Using algorithms explained in this book, you too can carry out traditional programming tasks in a high-powered, efficient, easy-to-maintain manner with Perl.This book assumes a basic understanding of Perl syntax and functions, but not necessarily any background in computer science. The authors explain in a readable fashion the reasons for using various classic programming techniques, the kind of applications that use them, and -- most important -- how to code these algorithms in Perl.If you are an amateur programmer, this book will fill you in on the essential algorithms you need to solve problems like an expert. If you have already learned algorithms in other languages, you will be surprised at how much different (and often easier) it is to implement them in Perl. And yes, the book even has the obligatory fractal display program.There have been dozens of books on programming algorithms, some of them excellent, but never before has there been one that uses Perl.The authors include the editor of The Perl Journal and master librarian of CPAN; all are contributors to CPAN and have archived much of the code in this book there."This book was so exciting I lost sleep reading it." Tom Christiansen

商品描述(中文翻譯)

許多程式設計師都希望在需要處理大量工作的專案中使用Perl,但卻錯過了傳統教科書中教授其他語言的許多傳統演算法。計算機科學家已經確定了許多廣泛應用於各種程式的技術,例如:

- 文本的模糊模式匹配(識別拼寫錯誤!)
- 在數據中尋找相關性
- 遊戲算法
- 預測現象,例如網絡流量
- 多項式和樣條擬合

使用本書中解釋的演算法,您也可以以高效、易於維護的方式使用Perl執行傳統的程式任務。本書假設讀者對Perl語法和函數有基本的理解,但不一定需要有計算機科學的背景。作者以易讀的方式解釋了使用各種經典程式技術的原因,以及使用它們的應用類型,最重要的是如何在Perl中編寫這些演算法。

如果您是業餘程式設計師,本書將向您介紹解決問題所需的基本演算法,使您能像專家一樣解決問題。如果您已經在其他語言中學習了演算法,您將會驚訝地發現在Perl中實現這些演算法有多麼不同(並且通常更容易)。是的,本書甚至還包含了必備的分形顯示程式。

關於程式演算法已經有數十本書籍,其中一些非常出色,但以前從未有過一本使用Perl的書籍。作者包括《The Perl Journal》的編輯和CPAN的主要圖書館員;他們都是CPAN的貢獻者,並在其中存檔了本書中的大部分程式碼。

"這本書太令人興奮了,我讀它時失眠了。" - Tom Christiansen