Posts Tagged ‘metaprogramming’

Module structure


2009
05.18

Following the article Keyword With I present here how I write a Module to be included an a class. It has to extend the class with class methods and instance methods.

(more…)

Keyword With


2009
05.18

From other programming language I know a interesting feature; the ‘with’ keyword. It allows to write some code in the environment within the bindings of the passed object.

Ruby has myriad of ways of doing something and leaves you plenty of freedom to choose your style. I wanted a more readable coherent approach for such an important feature I use all the time.

(more…)

To much meta will kill you


2009
05.06

This song is dedicated to all of you whose passion is to stay up all night coding. The coffee mug at hand, the beloved source code editor open; often a good dozen windows plastered around the desktop. And at last a nice song playing in the background. You are right into your element and the flow sensation is palpable.

Several hours later, your percolator is empty and without caffeine juice you start to hear strange words in your head that don’t match the actual lyric. In that cold cold night here is what I heard:

(more…)


Ironic Wolf is Digg proof thanks to caching by WP Super Cache