Dave Thomas is a cornerstone of the Ruby community, and is personally responsible for many of its innovative directions and initiatives. He and original co-author Andy Hunt are founders of the Pragmatic Programmers and the Pragmatic Bookshelf. Chad Fowler is co-director of Ruby Central, Inc., and remains an active, driving force in the Ruby community.
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.
發表於2025-03-30
Programming Ruby 1.9 & 2.0 2025 pdf epub mobi 電子書 下載
書的前言中說,Ruby是一門可以花一個下午學習然後使用很多年(可能是一生)的語言。可是,對於已經花瞭很多個下午纔隻閱讀瞭不到五分之一的內容,還已經被紛繁復雜的語法細節弄得暈頭轉嚮的我而言,Ruby或許是一門優雅、輕量的語言,但厚重又繁瑣的《Programming Ruby》,決不...
評分轉行瞭,此書二手低價轉讓,有意者Q5336593聯係我。幾乎是全新的。很適閤初學者看。隻是現在轉行瞭,留著手裏發揮不瞭價值,給其他有需要的人吧。轉行瞭,此書二手低價轉讓,有意者Q5336593聯係我。幾乎是全新的。很適閤初學者看。隻是現在轉行瞭,留著手裏發揮不瞭價值,給其...
評分因為剛開始接觸ruby,所以可能意見不夠專業,但是覺得這本書的介紹方式還是挺好,首先對於ruby中一些重要的概念進行一個統一的介紹,然後從ruby的核心類和對象來入手,讓初學者比較容易接受,並且穿插實例進行講解,方便邊看邊練習.入門很不錯的書籍
評分書的前言中說,Ruby是一門可以花一個下午學習然後使用很多年(可能是一生)的語言。可是,對於已經花瞭很多個下午纔隻閱讀瞭不到五分之一的內容,還已經被紛繁復雜的語法細節弄得暈頭轉嚮的我而言,Ruby或許是一門優雅、輕量的語言,但厚重又繁瑣的《Programming Ruby》,決不...
評分我喜歡Ruby,因為它在我心中是一種優美的程序設計語言;我喜歡讀紙版書,因為捧在手裏很有感覺;我喜歡讀中文版,畢竟中文是我的母語。所以,當《Programming Ruby中文版》麵市的時候,我迫不及待的在網上下瞭訂單。 這本書給我的第一印象是“厚”,有如字典一般的外觀對於捧...
圖書標籤: Ruby ruby 編程 Programming 計算機 Language 程序語言 程序設計
很不錯的入門書,非常易讀,非常沉(有400多頁的 lib reference...)
評分GitHub repo: https://github.com/zhaqiang/pickaxe
評分很不錯的入門書,非常易讀,非常沉(有400多頁的 lib reference...)
評分特彆厚,主要讀瞭duck type和元編程那章,其他的內容有需要的時候再去查閱吧。
評分特彆厚,主要讀瞭duck type和元編程那章,其他的內容有需要的時候再去查閱吧。
Programming Ruby 1.9 & 2.0 2025 pdf epub mobi 電子書 下載