Simon Willison’s Weblog

Subscribe

Entries in Dec, 2005

Filters: Type: entry × Year: 2005 × Month: Dec × Sorted by date


Get tickets for filming of Jools Holland’s TV show

I was in the audience for “Later” once. I called up the BBC’s ticket office and asked for tickets—they told me there was a year long waiting list. I asked to be put on it anyway, and sure enough just over a year later I got 4 tickets in the mail. Well worth the wait!

[... 73 words]

JSON and Yahoo!’s JavaScript APIs

I had the pleasure yesterday of seeing Douglas Crockford speak about JSON, the ultra-simple data interchange format he has been promoting as an alternative to XML. JSON is a subset of JavaScript, based around that language’s array, string and object literal syntax.

[... 240 words]

Don’t be eval()

JavaScript is an interpreted language, and like so many of its peers it includes the all powerful eval() function. eval() takes a string and executes it as if it were regular JavaScript code. It’s incredibly powerful and incredibly easy to abuse in ways that make your code slower and harder to maintain. As a general rule, if you’re using eval() there’s probably something wrong with your design.

[... 431 words]

Have a webby Christmas

Sadly there’s no Perl Advent Calendar this year, but the slack has been picked up by Drew McLellan’s 24 ways to impress your friends—a neat web development tip every day until Christmas.

[... 81 words]