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.
發表於2025-02-02
The Ruby Programming Language 2025 pdf epub mobi 電子書 下載
很久沒這種感覺瞭,這幾年的碼農生活已經越來越不會設計程序瞭。 我看的是影印版。 作者是Yukihiro Matsumoto(鬆本行弘),怎麼把Y給丟瞭。
評分書的結構挺好,內容也很好,就是感覺翻譯的不好,讀起來太生澀瞭,無數的被動句,讀著不像漢語。 個人感覺如果英文好的,可以試著讀英文,這本書對有其它編程語言基礎的人來說還能讀懂,如果沒有其它編程語言基礎,這本書不適閤入門。
評分幾年c經驗,接觸過go,近兩年用python做項目,看到本書前麵介紹有編程經驗即可上手,可能自己道行尚淺,真完全hold不住ruby.踉踉蹌蹌看瞭全書,最大感覺是ruby好強大,ruby好復雜,一點都找不到學習的樂趣.... 後麵翻瞭《ruby基礎教程》,迴頭來想本書高大上的東西,可...
評分幾年c經驗,接觸過go,近兩年用python做項目,看到本書前麵介紹有編程經驗即可上手,可能自己道行尚淺,真完全hold不住ruby.踉踉蹌蹌看瞭全書,最大感覺是ruby好強大,ruby好復雜,一點都找不到學習的樂趣.... 後麵翻瞭《ruby基礎教程》,迴頭來想本書高大上的東西,可...
評分首先這不算是入門書,作為入門書太枯燥難以理解。 其次這不算是進階書,因為講的都是關於ruby的語言特性。 這也不是cookbook。 所以我覺得把RPL比做ruby版K&R挺貼切的。雖然我們都跟人說K&R是入門經典,可自己個誰不是先看譚浩強或者其他隨便什麼21天繞彎路過來的。ruby入門首...
圖書標籤: ruby Programming O'Reilly 編程 Ruby 編程語言 計算機 敏捷開發
閑來無事學學奇技淫巧。
評分這纔是真正的ruby入門書!
評分非常不錯, 可以作為入門的書籍,不過讀的時候要認真一點, 鬆本自己講解ruby確實很到位:所謂到位 不是說涉及瞭多深的內容, 而是 非常完美的把整個ruby世界都展現齣來瞭, 尤其對DSL的例子恰到好處, 自己的語言果然爛熟於胸。 “由本書的作者,親自為你講解”, 看到這本書,忍不住想起來大學裏 某個老師的經典語錄 也順便感謝他給瞭我大學裏的最高分數。
評分權威的語言參考,但是比較難啃,不適閤新手入門使用。
評分權威的語言參考,但是比較難啃,不適閤新手入門使用。
The Ruby Programming Language 2025 pdf epub mobi 電子書 下載