《Ruby程序设计语言》是Ruby的权威指南,全面涵盖该语言的1.8版和1.9版。本书详尽但并不拘泥于语言规范,既适合首次接触Ruby的资深程序员,同样也适合那些想要挑战对这门语言的理解并更深入掌握它的Ruby程序员。本书首先通过一个快速指南带您熟悉这门语言,然后彻底解释它的细节,包括:Ruby程序的词法和句法结构、数据类型和对象、表达式和操作符、语句和控制结构、Method、proc、lambda和Iclosure、类和模块、反射和元编程、Ruby平台。
图书 | Ruby程序设计语言(影印版) |
内容 | 编辑推荐 《Ruby程序设计语言》是Ruby的权威指南,全面涵盖该语言的1.8版和1.9版。本书详尽但并不拘泥于语言规范,既适合首次接触Ruby的资深程序员,同样也适合那些想要挑战对这门语言的理解并更深入掌握它的Ruby程序员。本书首先通过一个快速指南带您熟悉这门语言,然后彻底解释它的细节,包括:Ruby程序的词法和句法结构、数据类型和对象、表达式和操作符、语句和控制结构、Method、proc、lambda和Iclosure、类和模块、反射和元编程、Ruby平台。 内容推荐 《Ruby程序设计语言》包含了对Ruby平台的大量API的全面介绍,通过包含详尽注释的代码展示了如何将Ruby用于文本处理、数值处理、集合、输入/输出、网络和并发。如果您真想要理解Ruby,本书不可或缺。 目录 Preface 1. Introduction 1.1 A Tour of Ruby 1.2 Try Ruby 1.3 About This Book 1.4 A Sudoku Solver in Ruby 2. The Structure and Execution of Ruby Programs 2.1 Lexical Structure 2.2 Syntactic Structure 2.3 File Structure 2.4 Program Encoding 2.5 Program Execution 3. Datatypes and Objects 3.1 Numbers 3.2 Text 3.3 Arrays 3.4 Hashes 3.5 Ranges 3.6 Symbols 3.7 True, False, and Nil 3.8 Objects 4. Expressions and Operators 4.1 Literals and Keyword Literals 4.2 Variable References 4.3 Constant References 4.4 Method Invocations 4.5 Assignments 4.6 Operators 5. Statements and Control Structures 5.1 Conditionals 5.2 Loops 5.3 Iterators and Enumerable Objects 5.4 Blocks 5.5 Altering Control Flow 5.6 Exceptions and Exception Handling 5.7 BEGIN and END 5.8 Threads, Fibers, and Continuations 6. Methods, Procs, Lambflas, and Closures 6.1 Defining Simple Methods 6.2 Method Names 6.3 Methods and Parentheses 6.4 Method Arguments 6.5 Procs and Lambdas 6.6 Closures 6.7 Method Objects 6.8 Functional Programming 7. Classes and Modules 7.1 Defining a Simple Class 7.2 Method Visibility: Public, Protected, Private 7.3 Subclassing and Inheritance 7.4 Object Creation and Initialization 7.5 Modules 7.6 Loading and Requiring Modules 7.7 Singleton Methods and the Eigenclass 7.8 Method Lookup 7.9 Constant Lookup 8. Reflection and Metaprogramming 8.1 Types, Classes, and Modules 8.2 Evaluating Strings and Blocks 8.3 Variables and Constants 8.4 Methods 8.5 Hooks 8.6 Tracing 8.7 ObjectSpace and GC 8.8 Custom Control Structures 8.9 Missing Methods and Missing Constants 8.10 Dynamically Creating Methods 8.11 Alias Chaining 8.12 Domain-Specific Languages 9. The Ruby Platform 9.1 Strings 9.2 Regular Expressions 9.3 Numbers and Math 9.4 Dates and Times 9.5 Collections 9.6 Files and Directories 9.7 Input/Output 9.8 Networking 9.9 Threads and Concurrency 10. The Ruby Environment 10.1 Invoking the Ruby Interpreter 10.2 The Top-Level Environment 10.3 Practical Extraction and Reporting Shortcuts 10.4 Calling the OS 10.5 Security Index |
标签 | |
缩略图 | ![]() |
书名 | Ruby程序设计语言(影印版) |
副书名 | |
原作名 | |
作者 | (美)费拉纳根//(日)松本行弘 |
译者 | |
编者 | |
绘者 | |
出版社 | 东南大学出版社 |
商品编码(ISBN) | 9787564108397 |
开本 | 16开 |
页数 | 429 |
版次 | 1 |
装订 | 平装 |
字数 | 470 |
出版时间 | 2008-05-01 |
首版时间 | 2008-05-01 |
印刷时间 | 2008-05-01 |
正文语种 | 英 |
读者对象 | 青年(14-20岁),研究人员,普通成人 |
适用范围 | |
发行范围 | 公开发行 |
发行模式 | 实体书 |
首发网站 | |
连载网址 | |
图书大类 | 教育考试-考试-计算机类 |
图书小类 | |
重量 | 0.696 |
CIP核字 | |
中图分类号 | TP393.092 |
丛书名 | |
印张 | 28 |
印次 | 1 |
出版地 | 江苏 |
长 | 234 |
宽 | 178 |
高 | 20 |
整理 | |
媒质 | 图书 |
用纸 | 普通纸 |
是否注音 | 否 |
影印版本 | 原版 |
出版商国别 | CN |
是否套装 | 单册 |
著作权合同登记号 | 图字10-2008-101号 |
版权提供者 | O'Reilly Media, Inc. |
定价 | |
印数 | 3000 |
出品方 | |
作品荣誉 | |
主角 | |
配角 | |
其他角色 | |
一句话简介 | |
立意 | |
作品视角 | |
所属系列 | |
文章进度 | |
内容简介 | |
作者简介 | |
目录 | |
文摘 | |
安全警示 | 适度休息有益身心健康,请勿长期沉迷于阅读小说。 |
随便看 |
|
兰台网图书档案馆全面收录古今中外各种图书,详细介绍图书的基本信息及目录、摘要等图书资料。