11.4. Conclusion

In this chapter we’ve seen a few of the more esoteric or advanced techniques in OOP, as well as some of the more everyday usages. We’ve seen some of the design patterns implemented (and some that don’t need to be). We’ve also looked at Ruby’s reflection API, some interesting consequences of Ruby’s dynamic nature, and various neat tricks that can be done in a dynamic language.

It’s time now to rejoin the real world. After all, OOP is not an end in itself but a means to an end; the end is to write applications that are effective, bug-free, and maintainable.

In modern computing, these applications frequently need a graphical interface. In Chapter 12, “Graphical Interfaces for Ruby,” we discuss creating graphical interfaces in Ruby. ...

Get The Ruby Way: Solutions and Techniques in Ruby Programming, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.