Chapter 6. Ruby’s Code-Containing Structures
With Ruby’s basic syntax only, we still find it hard to build a full Ruby application.
For example, sometimes when building an application you need to write the same code several times. If you really write it several times, you end up shortly with an impossible-to-maintain and buggy application. The solution to that is to write the code once in a central place and refer to it from several places.
Another common example is code design. One important task in building big applications is designing your code to make it more maintainable, efficient, and change-ready. We can’t implement such design decisions currently ...