The Ruby Programming Language (Paperback) (Ruby 程式語言)

David Flanagan, Yukihiro Matsumoto

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

相關主題

商品描述

The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team:

  • David Flanagan, bestselling author of programming language "bibles" (including JavaScript: The Definitive Guide and Java in a Nutshell) and committer to the Ruby Subversion repository.



  •  
  • Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book.



  •  
  • why the lucky stiff, artist and Ruby programmer extraordinaire.
This book begins with a quick-start tutorial to the language, and then explains the language in detail from the bottom up: from lexical and syntactic structure to datatypes to expressions and statements and on through methods, blocks, lambdas, closures, classes and modules.

The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating -- with heavily-commented example code -- Ruby's facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby's metaprogramming capabilities.

The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language.
 

商品描述(中文翻譯)

《Ruby程式語言》是關於Ruby的權威指南,全面介紹了1.8和1.9版本的語言。這本書由一個全明星團隊撰寫(並且有插圖!):

- David Flanagan,暢銷書作家,撰寫了多本程式語言的「聖經」(包括《JavaScript: The Definitive Guide》和《Java in a Nutshell》),並且是Ruby Subversion存儲庫的貢獻者。
- 松本行弘(Matz),Ruby的創造者、設計師和首席開發人員,也是《Ruby in a Nutshell》的作者,該書已經擴充和修訂成為這本書。
- why the lucky stiff,藝術家和Ruby程式設計師。

這本書以快速入門教程開始,然後從底層開始詳細解釋語言:從詞法和語法結構到數據類型、表達式和語句,再到方法、塊、lambda、閉包、類和模塊。

該書還包括對Ruby平台豐富API的詳細介紹,通過有詳細註釋的示例代碼展示了Ruby在文本處理、數字操作、集合、輸入/輸出、網絡和並發方面的功能。整章都專門介紹了Ruby的元編程能力。

《Ruby程式語言》對Ruby語言進行了明確的文檔記錄,但沒有正式的語言規範的形式。它是為有經驗的程式設計師撰寫的,他們對Ruby還不熟悉,以及想要挑戰自己的理解並提高對該語言的掌握的現有Ruby程式設計師。