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.
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.
其实能看懂,但就像一些东西一样,一旦自己写的时候就未必能写出来,我想这是我个人水平还不够的问题,也许书已经讲明白了。 后面元编程的部分直接买了metaprogramming ruby那本书,那本讲的非常好。
评分pro: 语言容易懂,有例子,不像C++ primer和java核心技术那样厚而全,适合用来学习ruby cons: 有些不常用的东西没有醒目的提示,对初学者来说应该只抓重点,先放弃不常用的语法
评分优点很多,比如说语言简单。以我自身的经验而言,英语拥有二级半水平的人,每页中除了个别三四个词汇需要查一下,基本上能很顺畅的读下来。把那些“程序员英语必须要好”的“鬼话”还给“鬼”吧,甚至你根本无需达到阅读维基百科的英文水平。技术文档英文都有简单的特点...
评分优点很多,比如说语言简单。以我自身的经验而言,英语拥有二级半水平的人,每页中除了个别三四个词汇需要查一下,基本上能很顺畅的读下来。把那些“程序员英语必须要好”的“鬼话”还给“鬼”吧,甚至你根本无需达到阅读维基百科的英文水平。技术文档英文都有简单的特点...
评分其实能看懂,但就像一些东西一样,一旦自己写的时候就未必能写出来,我想这是我个人水平还不够的问题,也许书已经讲明白了。 后面元编程的部分直接买了metaprogramming ruby那本书,那本讲的非常好。
简单,入门。大爱ruby,短码太漂亮,尤其是小规模工具类的应用,不用ruby就太对不起自己了。
评分看得累死orz
评分简单,入门。大爱ruby,短码太漂亮,尤其是小规模工具类的应用,不用ruby就太对不起自己了。
评分Document系列永远没法读完>.<
评分看得累死orz
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 onlinetoolsland.com All Rights Reserved. 本本书屋 版权所有