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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: