出版社: O'Reilly Media, Inc.
副标题: Everything You Need to Know
出版年: 2008
页数: 448
定价: USD 39.99
装帧: Paperback
ISBN: 9780596516178
内容简介 · · · · · ·
Ruby has gained some attention through the popular Ruby on Rails web development framework, but the language alone is worthy of more consideration -- a lot more. This book offers a definition explanation of this powerful and extremely flexible language, which draws inspiration from Lisp, Smalltalk and Perl, but uses a grammar that's easy for C and Java programmers to learn.
Wit...
Ruby has gained some attention through the popular Ruby on Rails web development framework, but the language alone is worthy of more consideration -- a lot more. This book offers a definition explanation of this powerful and extremely flexible language, which draws inspiration from Lisp, Smalltalk and Perl, but uses a grammar that's easy for C and Java programmers to learn.
With The Ruby Programming Language, you will quickly learn your way around versions 1.8 and 1.9, and discover why this pure object-oriented language is also suitable for procedural and functional programming styles. You'll learn Ruby's lexical structure, primary expressions, conditionals, syntax, classes, the data it manipulates, and more. Ruby blurs the distinction between language and platform, so this book includes a tour of the core Ruby API. But the primary subject is the language itself, including:
* Ruby's lexical structure including basic issues like character set, case sensitivity and reserved words
* Numbers, strings, ranges, arrays, and other data that Ruby programs can manipulate, plus basic features of all Ruby objects
* Primary expressions in Ruby -- literals, variable references, method invocations and assignments
* Conditionals, loops (including blocks and iterator methods), exceptions and other Ruby expressions
* Ruby's method definition and invocation syntax, and the invokeable objects known as procs and lambdas
* An explanation of closures in Ruby and an exploration of functional programming techniques
* Classes and modules in Ruby, inheritance, method visibility, mixing modules and the method name resolution algorithm
* Ruby APIs that allow a program to inspect and manipulate itself, and metaprogramming techniques that use the APIs to extend Ruby's syntax for easier programming
* A quick tutorial of the Ruby platform -- the most important classes and methods, text processing, numeric computation, collections, input/output, networking and threads
The Ruby Programming Language also covers the top-level Ruby programming environment, including global variables and functions, command-line arguments supported by the Ruby interpreter, and Ruby's security mechanism. If you're an experienced programmer who wants a look at this language in depth, this easy-to-follow guide is invaluable.
The Ruby Programming Language的创作者
· · · · · ·
作者简介 · · · · · ·
David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include Java in a Nutshell, Java Examples in a Nutshell, Java Foundation Classes in a Nutshell, JavaScript: The Definitive Guide, and JavaScript Pocket Reference. David has a degree in computer science and engineering from the Massachusetts Institute of...
David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include Java in a Nutshell, Java Examples in a Nutshell, Java Foundation Classes in a Nutshell, JavaScript: The Definitive Guide, and JavaScript Pocket Reference. David has a degree in computer science and engineering from the Massachusetts Institute of Technology. He lives with his wife and children in the U.S. Pacific Northwest bewteen the cities of Seattle, Washington and Vancouver, British Columbia. David has a blog at www.davidflanagan.com.
Yukihiro Matsumoto ("Matz"), the creator of Ruby, is a professional programmer who worked for the Japanese open source company, netlab.jp. Matz is also known as one of the open source evangelists in Japan. He's released several open source products, including cmail, the emacs-based mail user agent, written entirely in emacs lisp. Ruby is his first piece of software that has become known outside of Japan.
喜欢读"The Ruby Programming Language"的人也喜欢的电子书 · · · · · ·
喜欢读"The Ruby Programming Language"的人也喜欢 · · · · · ·
The Ruby Programming Language的书评 · · · · · · ( 全部 13 条 )

proc和lamdba那个地方不太懂

值得推荐的Ruby书籍

> 更多书评 13篇
论坛 · · · · · ·
什么地方可以得到这本书? | 来自yxsongbo | 5 回应 | 2009-07-06 16:06:38 |
这本书的其他版本 · · · · · · ( 全部3 )
-
电子工业出版社 (2009)8.7分 289人读过
-
东南大学出版社 (2008)暂无评分
以下书单推荐 · · · · · · ( 全部 )
- Ruby与Rails开发书单 (欧阳)
- 深入Ruby/Rails系列 (RoBeRt)
- Computer Science at Stanford (Eric)
- R & Python & Ruby (神雕侠觅侣)
- IT 一级 信息技术(智力层次-实用性) 1.1.1 (ajian005)
谁读这本书? · · · · · ·
二手市场
· · · · · ·
订阅关于The Ruby Programming Language的评论:
feed: rss 2.0
0 有用 左右 2013-09-16 00:11:24
这是一本非常经典的讲解Ruby的书,由David Flanagan和Ruby语言的发明人共同撰写,我觉得作为程序员即使不使用Ruby,这本书也值得时不时重新读读,了解一些作者构思这门语言时的想法和考虑,对程序设计肯定会有不小的帮助。
0 有用 st_ind 2012-06-07 19:11:17
看得累死orz
0 有用 kevinclcn 2011-08-09 16:48:05
一本书可以让你爱上一门语言,这就是这样的一本书。不过也许不适合入门。
0 有用 wilbur 2012-10-17 20:53:18
讲的很全面,适合快速学习用
0 有用 城主 2012-08-29 15:09:48
这个暑假的最大收获