[Nitro] Example Comments

Jonathan Buch john at oxyliquit.de
Fri Feb 9 04:08:21 EST 2007


>> > I very rarely see =begin =end in Ruby code.  If, then mostly to
>> > encapsulate a bigger chunk of code which is not to be executed.
>> >

> On the other hand, one of my favorite tricks is
> #=begin
> ... experimental code here ...
> =begin
> =end

which in no way contradics what I have been saying. ;)

But yeah.. I haven't thought of that, I always commented both....
It's kinda like `#if 0   #endif` in C that way..


Feel the love

More information about the Nitro-general mailing list