Mmm… Prototype…

I love latest Prototype. It’s so rubyesque. For example, executing Rico.Corner.round function on each element in a document with the class section is now a one-liner:

Element.childrenWithClassName(document, “section”).each(Rico.Corner.round.bind(Rico.Corner));

Mmmmm…

Funny anecdote: the guy behind Prototype, Sam Stephenson (an obvious genius) was just on this RubyConf told by Obie what “conio” (his domain name) actually means. He had no idea! Here we had been thinking all along that it was a joke.

Don’t know what it means? Ask your closest latin american, but be prepared for him/her to blush.

Leave a Reply