The Ruby Programming Language

The Ruby Programming Language pdf epub mobi txt 电子书 下载 2025

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.

出版者:O'Reilly Media, Inc.
作者:David Flanagan
出品人:
页数:448
译者:
出版时间:2008
价格:USD 39.99
装帧:Paperback
isbn号码:9780596516178
丛书系列:
图书标签:
  • ruby 
  • Programming 
  • O'Reilly 
  • 编程 
  • Ruby 
  • 编程语言 
  • 计算机 
  • 敏捷开发 
  •  
想要找书就要到 图书目录大全
立刻按 ctrl+D收藏本页
你会得到大惊喜!!

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那本书,那本讲的非常好。  

评分

很久没这种感觉了,这几年的码农生活已经越来越不会设计程序了。 我看的是影印版。 作者是Yukihiro Matsumoto(松本行弘),怎么把Y给丢了。  

评分

首先这不算是入门书,作为入门书太枯燥难以理解。 其次这不算是进阶书,因为讲的都是关于ruby的语言特性。 这也不是cookbook。 所以我觉得把RPL比做ruby版K&R挺贴切的。虽然我们都跟人说K&R是入门经典,可自己个谁不是先看谭浩强或者其他随便什么21天绕弯路过来的。ruby入门首...  

评分

第45页 “当一个表达式含有多个指数操作时,他们按照从右到左的顺序执行,因此4**3**3的值与4**9相同,而不同于64**2” 说实话这句里有两个错误 第一,4**3**3的值与4**9的并不相同,而应当与4**27相同 第二,4**3**3的值和64**2的值差的就更远了,只能说之笔误,原来打算写的...  

评分

首先这不算是入门书,作为入门书太枯燥难以理解。 其次这不算是进阶书,因为讲的都是关于ruby的语言特性。 这也不是cookbook。 所以我觉得把RPL比做ruby版K&R挺贴切的。虽然我们都跟人说K&R是入门经典,可自己个谁不是先看谭浩强或者其他随便什么21天绕弯路过来的。ruby入门首...  

用户评价

评分

一本书可以让你爱上一门语言,这就是这样的一本书。不过也许不适合入门。

评分

这个暑假的最大收获

评分

非常不错, 可以作为入门的书籍,不过读的时候要认真一点, 松本自己讲解ruby确实很到位:所谓到位 不是说涉及了多深的内容, 而是 非常完美的把整个ruby世界都展现出来了, 尤其对DSL的例子恰到好处, 自己的语言果然烂熟于胸。 “由本书的作者,亲自为你讲解”, 看到这本书,忍不住想起来大学里 某个老师的经典语录 也顺便感谢他给了我大学里的最高分数。

评分

权威的语言参考,但是比较难啃,不适合新手入门使用。

评分

一本书可以让你爱上一门语言,这就是这样的一本书。不过也许不适合入门。

本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度google,bing,sogou

© 2025 book.wenda123.org All Rights Reserved. 图书目录大全 版权所有