Today’s wonk porn is going to talk about iterators — one of JavaScript 1.7‘s cool new features — and how it relates to polymorphism. Grab a recent nightly build of Firefox 2.0 in order to play along.
It’s hard for me to write a WTF — not because I can’t remember one, but because I remember too many. Netscape was one giant WTF — or, as they called it back then, AOL. The company had grown so inept that “WTF” became just another thing we said each day, like “Hey,” or “What time is it?” or “We just lost another 5%,” or “Marketing wants to replace the Back button with an ad for Bowflex.” In fact, as I’m sure you know, the Mozilla movement itself was born when Jim Barksdale looked at the old Netscape 4.x codebase and announced, with tremendous gusto and wondrous pride: WTF?