

The Well-Grounded Rubyist, Fourth Edition
WELL-GROUNDED RUBYIST 4TH /E
出版日期:
2026/08/17
2,700
訂單自國外空運,約14-21個工作天(不含例假日)到貨後依序出貨。為縮短等待,建議將此商品和其他商品分開下單。
查詢門市庫存
內容簡介
Get the eBook free when you register your print book at Manning. By putting the core principles of the language on full display rather than treating it as a collection of syntax rules, The Well-Grounded Rubyist, Fourth Edition will help you, as it did several earlier generations, become a better Ruby programmer. In this masterful tutorial, authors David A Black and Joseph Leo III tell a clear programming story: start with basic language literacy, explore how objects and methods interact, build a strong foundation in object-oriented design, and finally move into dynamic features like runtime introspection. Even seasoned Rubyists appreciate this book's thoughtful introduction of the fundamentals. Early chapters establish a baseline with Ruby's literal constructors, basic object orientation, and control-flow techniques. The middle chapters show how to work with Ruby's built-in collections, highlighting arrays, hashes, and the powerful Enumerable module. Later chapters move into modifying the behavior of the language itself through singleton classes, callable objects, and functional programming techniques. As you go, you'll see how message passing, method lookup, and variable scope actually operate under the hood. You will also explore common real-world tasks, including file I/O and regular expressions. Difficult concepts such as self, inheritance, and the method_missing hook are clarified with friendly explanations, while rich code samples make abstract principles easy to follow.
The Well-Grounded Rubyist is like time well spent with an expert mentor. Each concept, feature, or practice appears because you need it to write better software. Carefully designed examples, clear chapter progressions, and frequent "aha!" moments help you stay moving, even through advanced material. It's clear from the beginning that David Black and Joe Leo love to teach Ruby. They explain complex programming topics by making every detail concrete, never losing sight of the larger picture. They do not treat mechanisms like mixins, thread concurrency, or callable objects as isolated abstractions; they connect them to the goal of writing expressive, idiomatic code. Their careful design keeps the main narrative focused, while ensuring every lesson is instantly applicable to your day-to-day work. The result is a logically flowing book that remains hands-on, navigable, and technically deep without constantly interrupting the learning journey. Fully updated for Ruby 4.0.1, this book ensures you understand why Rubyists think differently about problem solving.
What's inside - Ruby's object-oriented core and built-in types
- How to organize code with classes, modules, and mixins
- Harnessing regular expressions, file I/O, and functional techniques About the reader For programmers looking to start working with Ruby or deepen their understanding of the language. About the author David A Black is a well-known Ruby programmer, trainer, speaker, author, and event organizer, and a founder of Ruby Central. Joseph Leo III is the founder and owner of Ruby on Rails consultancy Def Method. Table of Contents Part 1
1 Bootstrapping your Ruby literacy
2 Objects, methods, and local variables
3 Organizing objects with classes
4 Modules and program organization
5 The default object (self), scope, and visibility
6 Control-flow techniques
Part 2
7 Built-in essentials
8 Strings, symbols, and other scalar objects
9 Collection and container objects
10 Collections central: Enumerable and Enumerator
11 Regular expressions and regexp-based string operations
12 File and I/O operations
Part 3
13 Object individuation
14 Callable and runnable objects
15 Callbacks, hooks, and runtime introspection
16 Ruby and functional programming
- How to organize code with classes, modules, and mixins
- Harnessing regular expressions, file I/O, and functional techniques About the reader For programmers looking to start working with Ruby or deepen their understanding of the language. About the author David A Black is a well-known Ruby programmer, trainer, speaker, author, and event organizer, and a founder of Ruby Central. Joseph Leo III is the founder and owner of Ruby on Rails consultancy Def Method. Table of Contents Part 1
1 Bootstrapping your Ruby literacy
2 Objects, methods, and local variables
3 Organizing objects with classes
4 Modules and program organization
5 The default object (self), scope, and visibility
6 Control-flow techniques
Part 2
7 Built-in essentials
8 Strings, symbols, and other scalar objects
9 Collection and container objects
10 Collections central: Enumerable and Enumerator
11 Regular expressions and regexp-based string operations
12 File and I/O operations
Part 3
13 Object individuation
14 Callable and runnable objects
15 Callbacks, hooks, and runtime introspection
16 Ruby and functional programming
作者介紹
David A. Black is a well-known Ruby programmer, trainer, speaker, author, and event organizer. He was one of the founders of Ruby Central, Inc., the parent organization of the annual international RubyConf.
Joseph Leo III is the founder and owner of Def Method, a New York City-based Ruby on Rails consultancy dedicated to building high-quality, thoughtfully crafted software. He has over 20 years of experience as a software developer, engineering leader, and Ruby community organizer.
規格
誠品貨碼 /
ISBN13 / 9781633434868
ISBN10 /
EAN貨碼 / 9781633434868
裝訂 / P:平裝
頁數 / 616
重量(g) / 839.1
語言 / 3:英文
級別 / N:無
尺寸 / 23.4X18.8X4.8CM
退貨說明
退貨須知:
- 依照消費者保護法的規定,您享有商品貨到次日起七天猶豫期(含例假日)的權益(請注意!猶豫期非試用期),辦理退貨之商品必須是全新狀態(不得有刮傷、破損、受潮)且需完整(包含全部商品、配件、原廠內外包裝、贈品及所有附隨文件或資料的完整性等)。
- 請您以送貨廠商使用之包裝紙箱將退貨商品包裝妥當,若原紙箱已遺失,請另使用其他紙箱包覆於商品原廠包裝之外,切勿直接於原廠包裝上黏貼紙張或書寫文字。若原廠包裝損毀將可能被認定為已逾越檢查商品之必要程度,本公司得依毀損程度扣除回復原狀必要費用(整新費)後退費;請您先確認商品正確、外觀可接受,再行拆封,以免影響您的權利;若為產品瑕疵,本公司接受退貨。
依「通訊交易解除權合理例外情事適用準則」,下列商品不適用七日猶豫期,除產品本身有瑕疵外,不接受退貨:
- 易於腐敗、保存期限較短或解約時即將逾期。(如:生鮮蔬果、乳製品、冷凍冷藏食材、蛋糕)
- 依消費者要求所為之客製化給付。(如:客製印章、鋼筆刻字)
- 報紙、期刊或雜誌。
- 經消費者拆封之影音商品或電腦軟體。
- 非以有形媒介提供之數位內容或一經提供即為完成之線上服務,經消費者事先同意始提供。(如:電子書)
- 已拆封之個人衛生用品。(如:內衣褲、襪類、褲襪、刮鬍刀、除毛刀等貼身用品)
- 國際航空客運服務。
若您退貨時有下列情形,可能被認定已逾越檢查商品之必要程度而須負擔為回復原狀必要費用(整新費),或影響您的退貨權利,請您在拆封前決定是否要退貨:
- 以數位或電磁紀錄形式儲存或著作權相關之商品(包含但不限於CD、VCD、DVD、電腦軟體等) 包裝已拆封者(除運送用之包裝以外)。
- 耗材(包含但不限於墨水匣、碳粉匣、紙張、筆類墨水、清潔劑補充包等)之商品包裝已拆封者(除運送用之包裝以外)。
- 衣飾鞋類/寢具/織品(包含但不限於衣褲、鞋子、襪子、泳裝、床單、被套、填充玩具)或之商品缺件(含購買商品、附件、內外包裝、贈品等)或經剪標或下水或商品有不可回復之髒污或磨損痕跡。
- 食品、美容/保養用品、內衣褲等消耗性或個人衛生用品、商品銷售頁面上特別載明之商品已拆封者(除運送用之包裝外一切包裝、包括但不限於瓶蓋、封口、封膜等接觸商品內容之包裝部分)或已非全新狀態(外觀有刮傷、破損、受潮等)與包裝不完整(缺少商品、附件、原廠外盒、保護袋、配件紙箱、保麗龍、隨貨文件、贈品等)。
- 家電、3C、畫作、電子閱讀器等商品,除商品本身有瑕疵外,退回之商品已拆封(除運送用之包裝外一切包裝、包括但不限於封膜等接觸商品內容之包裝部分、移除封條、拆除吊牌、拆除貼膠或標籤等情形)或已非全新狀態(外觀有刮傷、破損、受潮等)與包裝不完整(缺少商品、附件、原廠外盒、保護袋、配件紙箱、保麗龍、隨貨文件、贈品等)。
- 退貨程序請參閱【客服專區→常見問題→誠品線上退貨退款】之說明。
付款/配送


