Simon Willison’s Weblog


Wednesday, 7th December 2005

Django job in Kansas. This is a case study in how to write a great job advert. # 9:53 pm

The Japanese game to end all Japanese games. Fighting girls who take pictures of each other’s panties. # 9:48 pm

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]

2005 » December