> It wasn’t just fancy HTML we had to build; it was a port of a
> graphic- and animation-intensive Flash app, with the polish
> intact,1 and it had to work on iOS. It had to work on IE7.
> It had to work on Android 2.1 on one of the clients’ phones.
> And we had six weeks. We did the maths and figured that at
> twelve hours a day, six days a week for six weeks, we might
> just sneak in.
> [...]
> There were also three levels of stakeholders above us, with
> different priorities, and constantly shifting (and always
> growing) specs cascading down from above as the site took shape.
>
> After some discussion with my ‘if I get hit by a truck’ backup
> developer, I decided to add CoffeeScript to this, despite no
> real experience with it.
Then you're a brave, brave man. After this intro, I fully expected to hear a disaster story of missed deadlines and feature cuts ... not a successful project and a Super Bowl launch.I think it goes without saying that "on deadline" is probably not the best time to learn a brand new JavaScript dialect. I'm relieved to hear that it all turned out for the best.
You mention that you're thinking of adding an explicit validation step -- great idea. For CS & JS (which can be compiled and validated quickly), even better than having it run when you build is having it run every time you save the file in your text editor...