Programming Ruby 1.9 & 2.0: The Pragmatic Programmers' Guide, 4/e (Paperback)
暫譯: Ruby 1.9 與 2.0 程式設計:務實程式設計師指南,第 4 版 (平裝本)
Dave Thomas, Andy Hunt, Chad Fowler
- 出版商: Pragmatic Bookshelf
- 出版日期: 2013-08-06
- 定價: $1,800
- 售價: 6.0 折 $1,080
- 語言: 英文
- 頁數: 888
- 裝訂: Paperback
- ISBN: 1937785491
- ISBN-13: 9781937785499
-
相關分類:
Ruby
-
其他版本:
Programming Ruby 3.3: The Pragmatic Programmers' Guide (Paperback)
買這商品的人也買了...
-
$1,200$948 -
$1,558Introduction to Algorithms, 3/e (IE-Paperback)
-
$1,440$1,368 -
$2,150$2,043 -
$580$464 -
$580$458 -
$1,200Practical Object-Oriented Design in Ruby: An Agile Primer (Paperback)
-
$300$234 -
$300$234 -
$580$458 -
$900Programming in Lua, 3/e (Paperback)
-
$580$452 -
$1,130$893 -
$300$234 -
$400$380 -
$1,500$1,185 -
$420$210 -
$349$276 -
$940$700 -
$680$537 -
$480$379 -
$680$537 -
$1,754Foundations of Algorithms, 5/e (Paperback)
-
$1,610$1,530 -
$420$332
商品描述
Ruby is the fastest growing and most exciting dynamic language out there. If you need to get working programs delivered fast, you should add Ruby to your toolbox.
This book is the only complete reference for both Ruby 1.9 and Ruby 2.0, the very latest version of Ruby.
2013 marks the 20th anniversary of the Ruby language. We're proud that throughout its history, we've continued to cover the latest version of Ruby.
Would you like to go from first idea to working code much, much faster? Do you currently spend more time satisfying the compiler instead of your clients or end users? Are you frustrated with demanding languages that seem to get in your way, instead of getting the work done? Are you using Rails, and want to dig deeper into the underlying Ruby language? If so, then we've got a language and book for you!
Ruby is a fully object-oriented language, much like the classic object-oriented language, Smalltalk. Like Smalltalk, it is dynamically typed (as opposed to Java or C++), but unlike Smalltalk, Ruby features the same conveniences found in modern scripting languages such as Perl and Python.
The combination of the power of a pure object-oriented language with the convenience of a scripting language makes Ruby a favorite tool of intelligent, forward-thinking programmers.
The Pickaxe contains four major sections:
An acclaimed tutorial on using Ruby. The definitive reference to the language. Complete documentation of all built-in classes, modules, and methods. Complete descriptions of all 97 standard libraries.
This is the reference manual for Ruby, including a description of all the standard library modules, a complete reference to all built-in classes and modules (including all the new and changed methods introduced by Ruby 1.9, 1.9.2, 1.9.3, and 2.0). It also includes all the new and changed syntax and semantics introduced since Ruby 1.8. Learn about the new parameter passing rules, local variable scoping in blocks, fibers, and the new block declaration syntax, among other exciting new features.
About Ruby 2.0
Ruby 2.0 is a minor update to Ruby 1.9, unlike the more major updates from Ruby 1.8 to Ruby 1.9.
The major language changes in Ruby 2.0 are the addition of keyword arguments and the change to use UTF-8 as the default source file encoding.
There are a number of additions to the standard library, including:
@Enumerator::Lazy@, which adds support for lazy access to potentially infinite lists. Refinements allow you to encapsulate changes to third-party classes, and scope their application to individual source files, preventing your changes from polluting the global application.
You'll also find that Ruby 2 is faster, and has memory management improvements that make it more server-friendly.
All told, there are over 110 sections of the book that have been flagged and cross-linked to indicate 2.0 content.
What You Need
This book assumes you have a basic understanding of object-oriented programming.
In general, Ruby programmers tend to favor the the command line for running their code, and they tend to use text editors rather than IDEs.
* Ruby runs on Windows, Linux, and Macs.
商品描述(中文翻譯)
```plaintext
Ruby 是目前增長最快且最令人興奮的動態語言。如果您需要快速交付可運行的程式,您應該將 Ruby 加入您的工具箱。
本書是 Ruby 1.9 和 Ruby 2.0 的唯一完整參考資料,這是 Ruby 的最新版本。
2013 年標誌著 Ruby 語言的 20 週年。我們自豪地表示,在其歷史上,我們一直持續涵蓋 Ruby 的最新版本。
您想要從最初的想法快速轉變為可運行的程式碼嗎?您目前是否花更多時間滿足編譯器,而不是您的客戶或最終用戶?您是否對那些似乎妨礙您工作的苛刻語言感到沮喪?您是否在使用 Rails,並希望深入了解底層的 Ruby 語言?如果是這樣,那麼我們有一種語言和一本書適合您!
Ruby 是一種完全物件導向的語言,類似於經典的物件導向語言 Smalltalk。與 Smalltalk 一樣,它是動態類型的(與 Java 或 C++ 相對),但與 Smalltalk 不同,Ruby 具有現代腳本語言(如 Perl 和 Python)所具備的便利性。
純物件導向語言的強大與腳本語言的便利性相結合,使 Ruby 成為聰明且具前瞻性的程式設計師的最愛工具。
《Pickaxe》包含四個主要部分:
一個備受讚譽的 Ruby 使用教程。 語言的權威參考。 所有內建類別、模組和方法的完整文檔。 所有 97 個標準庫的完整描述。
這是 Ruby 的 參考手冊,包括所有標準庫模組的描述,所有內建類別和模組的完整參考(包括 Ruby 1.9、1.9.2、1.9.3 和 2.0 所引入的所有新方法和變更的方法)。它還包括自 Ruby 1.8 以來引入的所有新語法和語義。了解新的參數傳遞規則、區塊中的局部變數範圍、纖維以及新的區塊聲明語法等其他令人興奮的新特性。
關於 Ruby 2.0
Ruby 2.0 是對 Ruby 1.9 的小幅更新,與 Ruby 1.8 到 Ruby 1.9 的重大更新不同。
Ruby 2.0 的主要語言變更是新增了關鍵字參數,並改為使用 UTF-8 作為預設的源文件編碼。
標準庫中有多項新增內容,包括:
@Enumerator::Lazy@,它增加了對潛在無限列表的延遲訪問支持。 精煉允許您封裝對第三方類別的更改,並將其應用範圍限制在單個源文件中,防止您的更改污染全局應用。
您還會發現 Ruby 2 更快,並且具有改進的記憶體管理,使其更適合伺服器使用。
總的來說,書中有超過 110 個部分被標記並交叉鏈接,以指示 2.0 內容。
您需要的
本書假設您對物件導向程式設計有基本的理解。
一般來說,Ruby 程式設計師傾向於使用命令行來運行他們的程式,並且他們傾向於使用文本編輯器而不是 IDE。
* Ruby 可以在 Windows、Linux 和 Mac 上運行。
```