The Ruby Programming Language

The Ruby Programming Language pdf epub mobi txt 電子書 下載2025

出版者:O'Reilly Media, Inc.
作者:David Flanagan
出品人:
頁數:448
译者:
出版時間:2008
價格:USD 39.99
裝幀:Paperback
isbn號碼:9780596516178
叢書系列:
圖書標籤:
  • ruby
  • Programming
  • O'Reilly
  • 編程
  • Ruby
  • 編程語言
  • 計算機
  • 敏捷開發
  • Ruby
  • Programming
  • Language
  • OOP
  • Functional
  • Parallel
  • Computation
  • Design
  • Patterns
  • Books
想要找書就要到 小美書屋
立刻按 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.

著者簡介

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.

圖書目錄

讀後感

評分

虽然镐头书页出了第三版,包含了1.9的特性,但是我感觉这本书介绍的语言细节方面更多,也更流畅、深入。很多概念介绍的非常的清晰,比如Enumerator,Filter,block vs lamdba vs proc vs method,iterator,metaprogramming等。  

評分

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

評分

比Programming Ruby强不少,语法思路的极其清楚,框架堪称完备精美。这点上说有点像是中国人的风格。涵盖了1.9,现在也有影印版了。  

評分

pro: 语言容易懂,有例子,不像C++ primer和java核心技术那样厚而全,适合用来学习ruby cons: 有些不常用的东西没有醒目的提示,对初学者来说应该只抓重点,先放弃不常用的语法  

評分

优点很多,比如说语言简单。以我自身的经验而言,英语拥有二级半水平的人,每页中除了个别三四个词汇需要查一下,基本上能很顺畅的读下来。把那些“程序员英语必须要好”的“鬼话”还给“鬼”吧,甚至你根本无需达到阅读维基百科的英文水平。技术文档英文都有简单的特点...  

用戶評價

评分

這是一本非常經典的講解Ruby的書,由David Flanagan和Ruby語言的發明人共同撰寫,我覺得作為程序員即使不使用Ruby,這本書也值得時不時重新讀讀,瞭解一些作者構思這門語言時的想法和考慮,對程序設計肯定會有不小的幫助。

评分

非常不錯, 可以作為入門的書籍,不過讀的時候要認真一點, 鬆本自己講解ruby確實很到位:所謂到位 不是說涉及瞭多深的內容, 而是 非常完美的把整個ruby世界都展現齣來瞭, 尤其對DSL的例子恰到好處, 自己的語言果然爛熟於胸。 “由本書的作者,親自為你講解”, 看到這本書,忍不住想起來大學裏 某個老師的經典語錄 也順便感謝他給瞭我大學裏的最高分數。

评分

相對python來說ruby很復雜

评分

Beginner, also try learn ruby the hard way

评分

這纔是真正的ruby入門書!

本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有