11 Oct 2009 11:08:23 EST
This is a post I've had in the works for months now. It's about modifying javascript functions on the fly. I know, that's old hat, you can replace the function to do whatever. That's not what I'm talking about. I'm talking about modifying the function in place to do something slightly different... using string manipulation. I know, horrible idea, ridiculous maintenance, tons of regressions. I'm not advocating it's use - I'm saying it's damn cool. And what's more, javascript is the only language you can do it in (that I've heard of or seen). So check it out, and decry my abuse of the language and see how I show you that you can't do it in Lisp. Really.
required, hidden, gravatared
required, markdown enabled (help)
* item 2
* item 3
are treated like code:
if 1 * 2 < 3:
print "hello, world!"
are treated like code: