The Well-Grounded Rubyist, 2/e (Paperback)

David A. Black

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

相關主題

商品描述

Developers discovering Ruby quickly learn that this elegant object-oriented language is a powerful alternative to traditional static languages like Java or C++. It runs in most operating environments and can handle virtually any programming task you throw at it. Ruby code is clean and clear. Best of all, Ruby is dynamic, which means that it's designed to react at runtime to changes in an application's environment or requirements. And with the new language features in the long-awaited Ruby 2, Ruby has truly come into its own.

The Well-Grounded Rubyist, Second Edition addresses both newcomers to Ruby and those Ruby programmers who want to deepen their understanding of the language. It begins with the basic steps to getting a 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 expert author David A. Black's lucid explanations give you immediate confidence as you build your Ruby programming skills.

This totally revised second edition includes coverage of features that are new in Ruby 2, as well as expanded and updated coverage of aspects of the language that have changed. New topics include keyword arguments, lazy enumerators, and Module#prepend. Updated areas include the new regular expression engine, program file encoding, and changes to the behavior of core classes and methods.

商品描述(中文翻譯)

開發者迅速發現,Ruby這個優雅的物件導向語言是傳統靜態語言(如Java或C++)的強大替代品。它可以在大多數操作環境中運行,並且可以處理幾乎任何你提出的編程任務。Ruby代碼乾淨明了。最重要的是,Ruby是動態的,這意味著它設計用於在運行時對應用程序的環境或需求的變化做出反應。而且,隨著期待已久的Ruby 2中的新語言功能,Ruby真正成熟起來。

《The Well-Grounded Rubyist, Second Edition》既適合Ruby的新手,也適合那些想深入了解這門語言的Ruby程序員。它從將Ruby程序啟動並運行的基本步驟開始,然後探索了複雜的主題,如可調用對象、反射和線程。無論主題是簡單還是困難,本書易於理解的示例和作者David A. Black的清晰解釋都能讓您在構建Ruby編程技能時立即增加信心。

這本完全修訂的第二版包括Ruby 2中的新功能的介紹,以及對語言的各個方面進行擴展和更新的內容。新的主題包括關鍵字參數、惰性枚舉器和Module#prepend。更新的內容包括新的正則表達式引擎、程序文件編碼以及核心類和方法行為的變化。