(Enlightenment)

Seen on the ruby-talk mailing list, in answer to a guy who is asking how Ruby can be 100% object oriented when primitives like ‘if’ and ‘then’ are not objects:

> Seriously, what kind of object would an If object be? What is the
> essence of If-ness? I think if anybody could answer that question they
> would instantly achieve enlightment and then their head would explode.

That, my friends, is exactly how LISP programmers are created.

Which reminds me of this xkcd comic.

End of the Lisp bashing.

1 comment so far

  1. Dustin on

    I don’t have the full context, but that’s a rather silly argument. “if” isn’t an object, “Boolean” is an object. “if” is a method on boolean that takes a block as a parameter.


Leave a reply