The Well-Grounded Rubyist (Paperback)

David A. Black

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

相關主題

商品描述

The Well-Grounded Rubyist takes you from interested novice to proficient practitioner. It's a beautifully written tutorial that begins with the basic steps to get your first Ruby program up and running and goes on to explore sophisticated topics like callable objects, reflection, and threading. Whether the topic is simple or tough, the book's easy-to-follow examples and explanations will give you immediate confidence as you build your Ruby programming skills.

The Well-Grounded Rubyist is a thoroughly revised and updated edition of the best-selling Ruby for Rails. In this new book, expert author David A. Black moves beyond Rails and presents a broader view of Ruby. It covers Ruby 1.9, and keeps the same sharp focus and clear writing that made Ruby for Rails stand out.

Starting with the basics, The Well-Grounded Rubyist explains Ruby objects and their interactions from the ground up. In the middle chapters, the book turns to an examination of Ruby's built-in, core classes, showing the reader how to manipulate strings, numbers, arrays, ranges, hashes, sets, and more. Regular expressions get attention, as do file and other I/O operations.

Along the way, the reader is introduced to numerous tools included in the standard Ruby distribution--tools like the task manager Rake and the interactive Ruby console-based interpreter Irb--that facilitate Ruby development and make it an integrated and pleasant experience.

The book encompasses advanced topics, like the design of Ruby's class and module system, and the use of Ruby threads, taking even the new Rubyist deep into the language and giving every reader the foundations necessary to use, explore, and enjoy this unusually popular and versatile language.

It's no wonder one reader commented: "The technical depth is just right to not distract beginners, yet detailed enough for more advanced readers."

商品描述(中文翻譯)

《The Well-Grounded Rubyist》將您從初學者引導至熟練的實踐者。這本書是一本寫得很美的教程,從讓您的第一個Ruby程式運行起步,一直深入探討可呼叫物件、反射和執行緒等複雜主題。無論主題是簡單還是困難,書中易於理解的例子和解釋將立即增強您在Ruby編程技能上的信心。

《The Well-Grounded Rubyist》是暢銷書《Ruby for Rails》的全面修訂和更新版。在這本新書中,專家作者David A. Black超越了Rails,呈現了Ruby的更廣泛視角。它涵蓋了Ruby 1.9,並保持了《Ruby for Rails》的銳利焦點和清晰寫作風格。

從基礎開始,《The Well-Grounded Rubyist》從頭開始解釋Ruby物件及其互動。在中間章節中,本書轉向檢視Ruby內建的核心類別,向讀者展示如何操作字串、數字、陣列、範圍、雜湊、集合等等。正則表達式受到關注,文件和其他I/O操作也有介紹。

在此過程中,讀者將認識到許多包含在標準Ruby發行版中的工具,例如任務管理器Rake和基於命令列的互動式Ruby控制台解譯器Irb,這些工具有助於Ruby開發,使其成為一個集成且愉快的體驗。

本書還涵蓋了高級主題,如Ruby的類別和模組系統設計,以及Ruby執行緒的使用,使新的Ruby程式設計師深入了解這門語言,並為每個讀者提供使用、探索和享受這種非常受歡迎和多用途的語言所需的基礎。

難怪有一位讀者評論說:“技術深度對於初學者來說剛剛好,不會分散注意力,但對於更高級的讀者來說足夠詳細。”