
Haben Sie noch nichts passendes gefunden? Stöbern Sie durch unser komplettes Sortiment.
Oder melden Sie sich an bzw. registrieren Sie sich.


Beschreibung
Autorentext David A. Black is a well-known Ruby programmer and author who has made important contributions to the Ruby community. As a founder of Ruby Central, Inc., the parent organisation of RubyConf, David brings decades of exp...Autorentext
David A. Black is a well-known Ruby programmer and author who has made important contributions to the Ruby community. As a founder of Ruby Central, Inc., the parent organisation of RubyConf, David brings decades of experience and a clear teaching style to his writing. David helps developers learn the Ruby language by focusing on the core idea that makes it unique and powerful.
Joseph Leo III is the founder of Def Method, a software consultancy based in New York City that is known for building high-quality and thoughtfully designed software. With more than 20 years of experience as a developer and engineering leader, Joseph brings a practical and real-world view to his work. Joseph helps developers and teams by sharing his knowledge and experience in software development.
Klappentext
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
Zusammenfassung
To be an effective developer, you need to understand the principles behind the Ruby code. It is not just about knowing many functions, but also about understanding how Ruby developers approach problems. This book focuses on the most useful parts of the Ruby language and explains them with clear examples. It brings together years of experience in a simple and easy-to-read style.
Learn the main object-oriented ideas in Ruby, including classes, modules, and message passing.
Work with Rubys built-in types like strings, symbols, arrays, hashes, and numbers.
Use RubyGems to install, share, and manage libraries for your projects.
Organise your code clearly by using classes, modules, and mixins.
Write clear and readable Ruby code by using functional techniques and blocks.
Use regular expressions and file input and output to handle real-world tasks.
**The Well-Grounded Rubyist **guides you through the Ruby language. The book explains how Ruby works and how its object system is organised. It shows how Ruby handles method calls and how the language works in real code. The ideas are practical and can be used in everyday development work.
After reading this book, you will understand the main ideas behind the Ruby language. You will be able to write clearer code and approach problems in the way experienced Ruby developers do. This book is for programmers who want to start working with Ruby or want to understand the language more deeply.
Inhalt
PART 1: RUBY FOUNDATIONS
1 BOOTSTRAPPING YOUR RUBY LITERACY
2 OBJECTS, METHODS, AND LOCAL VARIABLES
3 ORGANIZING OBJECTS WITH CLASSES
14 MODULES AND PROGRAM ORGANIZATION
5 THE DEFAULT OBJECT (SELF), SCOPE, AND VISIBILITY
6 CONTROL-FLOW TECHNIQUES
PART 2: BUILT-IN CLASSES AND MODULES
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: RUBY DYNAMICS
13 OBJECT INDIVIDUATION
14 CALLABLE AND RUNNABLE OBJECTS
15 CALLBACKS, HOOKS, AND RUNTIME INTROSPECTION
16 RUBY AND FUNCTIONAL PROGRAMMING
