Book Image

Learn to Code with Ruby [Video]

By : Boris Paskhaver
5 (1)
Book Image

Learn to Code with Ruby [Video]

5 (1)
By: Boris Paskhaver

Overview of this book

“Learn to Code with Ruby" is a meticulously crafted educational experience, designed to take you from beginner to proficient in the world of programming. Your learning adventure begins with the basics of installation and configuration on various operating systems, followed by an exploration of Ruby’s object-oriented principles. As you progress, you'll delve into the core of programming with hands-on sessions on variables, data types, and control structures. Our approach is to build your skills progressively, ensuring that each concept is understood profoundly before moving to the next. The course is designed to simulate a real-world coding environment, with practical exercises that encourage problem-solving and critical thinking. Beyond the syntax and semantics, we emphasize why programming is a critical skill in today's technology-driven landscape. Ruby not only opens doors to software development but also lays a strong foundation for web development with Ruby on Rails. As you move through the course, you'll experience the satisfaction of creating functional code that evolves with complexity. By the end of your journey, you’ll be well-equipped with the knowledge and skills to tackle real-world programming challenges with confidence and creativity. Please refer to the GH repository for all course files and codes.
Table of Contents (33 chapters)
31
Reading and Writing Documentation
33
Conclusion
Chapter 17
Hashes I
Content Locked
Section 14
Reference Problems with Hash.new
Ruby will reuse the argument we pass to Hash.new as the default value for a nonexistent hash key. This creates a problem because multiple hash keys will receive the same underlying (mutable) object. In this lesson, we'll learn how we can solve this problem with a special block syntax.