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.
写的很不错,尤其是ruby语言的特点,比如实现yield段或者和Java非常不一样的unless,untile等等。推荐大家也去读读《代码之美》里面的“程序如散文”
评分书的结构挺好,内容也很好,就是感觉翻译的不好,读起来太生涩了,无数的被动句,读着不像汉语。 个人感觉如果英文好的,可以试着读英文,这本书对有其它编程语言基础的人来说还能读懂,如果没有其它编程语言基础,这本书不适合入门。
评分以前听说学编程的话,得买这本书来看下。不过书买到了自己一翻,根本看不懂啊!晕。成了鸡肋一样,不学扔了可惜;学呢又自己太吃力!也没空出去找培训班,而且就算找到,就学这一门课,哪有人教啊。到处搜索,后来找到一个“猎豹网校”,想学什么课程可以任选的,学一门也行的...
评分第45页 “当一个表达式含有多个指数操作时,他们按照从右到左的顺序执行,因此4**3**3的值与4**9相同,而不同于64**2” 说实话这句里有两个错误 第一,4**3**3的值与4**9的并不相同,而应当与4**27相同 第二,4**3**3的值和64**2的值差的就更远了,只能说之笔误,原来打算写的...
评分《Ruby编程语言》是Ruby语言的权威指南,它涵盖fRuby 1.8和1.9版本方方面面的内容。《Ruby编程语言》的读者是那些有其他编程语言经验的Ruby初学者,以及希望提升Ruby编程水平的人员。 《Ruby编程语言》的开始部分是Ruby的一个快速入门教程,接着从头开始解释语言的细节,包括...
基本读完了,讲的真的很细致, 很深刻,前后呼应的好, 对于元编程讲的不错,不足之处可能也是讲的太细了,让人易烦
评分参考书啦
评分规矩的语言教材;但是为什么代码都不引用起来呢?看着有点乱
评分闲来无事学学奇技淫巧。
评分这个暑假的最大收获
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有