Ooh, you mean I get an
else now? And procedures? And error trapping? And a calcluated
GOTO? And basic graphics, sound, and I/O commands? And sprites designed with ASCII art? Holy crap, this is fun!
It's a big overhead for a normal web page though. The compressed library is 90K.
@Dean: Well, the "packed" MochiKit single-include is 90K... gzip'ed, it's about 24K, which I hope would be the relevant number if mod_gzip is in use. Though the point is a good one: MochiKit-based sites certainly won't be winning the 5k page competition.
@Matt: Actually, MochiKit is pretty modularized-- if you're not using the "packed" version. Each module (ie. Async, Base, Color, DOM, etc...) has a check right at the top to ensure that what it needs is available. Async, for example, only requires Base-- it doesn't need Visual or LoggingPane.
re: Simon's BASIC
Yeah, but you have no idea how many times I typed "center" when it wanted "centre" and "color" when it wanted "colour".
Had the same problems years later with STOS and GFA on my ST, and AMOS on the Amiga.