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.
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.
比较好的入门书, 从大的部分开始, 然后一步步讲ruby的语法和概念. 对于有编程经验的同学来说, 没有什么问题. 后面很多reference, 让我觉得看电子版更划算一点. ruby是个魔法语言, 它让你能够写出更简短和更符合人类直觉的代码. 但是也需要人去记很多东西(信息量是固定的, 这个...
评分等了很久,终于出版了,赶紧入手,才看了一天,内容不要说了,当然perfect,翻译的还行吧,不过这书也太厚了,干吗不分两册出呢,捧在手里时间长了可真够重的,难怪知识就是重量了;)
评分因为刚开始接触ruby,所以可能意见不够专业,但是觉得这本书的介绍方式还是挺好,首先对于ruby中一些重要的概念进行一个统一的介绍,然后从ruby的核心类和对象来入手,让初学者比较容易接受,并且穿插实例进行讲解,方便边看边练习.入门很不错的书籍
评分因为刚开始接触ruby,所以可能意见不够专业,但是觉得这本书的介绍方式还是挺好,首先对于ruby中一些重要的概念进行一个统一的介绍,然后从ruby的核心类和对象来入手,让初学者比较容易接受,并且穿插实例进行讲解,方便边看边练习.入门很不错的书籍
评分勘误详见:http://www.huachu.com.cn/shuping/shuping_list.asp?lbbh=10040071 由于封面上赫然画着一柄丁字镐,这本Programming Ruby也被Ruby程序员们亲切地昵称为“镐头书”——和历史上大名鼎鼎的“龙书”、“紫皮书”一样,拥有一个独特的昵称本身就证明了这本书的地位。虽...
很不错的入门书,非常易读,非常沉(有400多页的 lib reference...)
评分特别厚,主要读了duck type和元编程那章,其他的内容有需要的时候再去查阅吧。
评分入门好书
评分入门好书
评分GitHub repo: https://github.com/zhaqiang/pickaxe
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有