Ruby Conf 2013 - Preferring Object-Orientation to Metaprogramming

4 years ago

Speakers
By Steven Harms Metaprogramming in Ruby is a mixed blessing: it makes many impossible things possible. This quicker, easier, more seductive path, however, can lead to contorted code that's difficult to maintain and can be hard to understand. So what's the alternative? For many uses of metaprogramming, good object-orientation, or a well-chosen design pattern, can provide just as much power without the challenges to intelligibility. This talk aims to (re)introduce several key Object Orientation concepts, and a few critical design patterns, then present them as superior alternatives to metaprogrammatic approaches. Help us caption & translate this video! http://amara.org/v/FG58/
Soyez le premier à laisser un commentaire