Tuesday, February 17th, 2009

Pimp Your Storage

Category: Prototype

Andrew Dupont has done what the threatened to do and created part one of series critiquing Prototype code.

The first installment has him taking a version of Element.Storage by Sébastien Grosjean and tweaking it out. Andrew discusses Prototype style issues, naming, feature design, fun common things such as:

  1. if (!(element = $(element))) return;

Oh, and the evil that is == vs. ===.

After it all you get this:

What is really cool is that this is in Prototype.Bleeding.Edge.

Posted by Dion Almaer at 7:19 am
Comment here

2.9 rating from 28 votes

Comments Here »

Comments feed TrackBack URI

Leave a comment

You must be logged in to post a comment.