I’m suspicious of people who don’t enable commenting on their blog – that just makes it a book. But this gripe aside, I like what Joel Spolsky has to say about abstraction in modern programming. Well, it pushes one of my buttons; perhaps “like” has nothing to do with it.
Sadly the people I feel need to appreciate his point the most probably won’t get past the second paragraph. That point, or at least the one I took away from it, is best summarized by this quote:
“[…] as we have higher and higher level programming tools with better and better abstractions, becoming a proficient programmer is getting harder and harder.”
In my article about method closures I showed a way to neatly create a portable reference to an object method that doesn’t ‘forget’ the object it belongs to. I have since discovered an aggravating problem on – you’ll never guess – Internet Explorer!
jaspa.closure whenever an object’s method is referenced.
If you’ve ever used
Explorer throws an unknown error when you set innerHTML
The bug seems to only occur for certain markup. I’m not 100% sure what the defining problem is, except that markup containing block elements like
<p> seem to invoke the error. Anyway, this drove me up the wall recently so I thought I’d share the work around I came up with.
Download JASPA from SourceForge
This article has been superseded by the official JASPA website … Please visit http://jaspa.org.uk/
Here are some quick tips on how to use the jsobf command line program effectively.