Tuesday, September 23, 2008

JavaScript Best Practices, or "JavaScript: The Good Parts"

The book, "JavaScript: The Good Parts" will be useful to both beginners and experienced JavaScript programmers who want to create better JavaScript code.

"JavaScript: The Good Parts" is a slim volume (153 pages) that clearly explains a number of best practices for JavaScript giving the "why" and the "how" for dozens of issues such as creating objects, using JSON securely, dealing with regular expressions, checking your code using JSLint, and avoiding "attractive nuisances" such as "implied globals." I only wish the author had included something on setting up unit-test frameworks for JavaScript (see for example, Scriptaculous.)

JavaScript is a programming language growing in importance every day - increasingly complex systems such as GMail, Google Maps, and MobileMe depend heavily upon it.
The guy who wrote this book, Douglas Crockford, is a "senior JavaScript architect at Yahoo!" and is the fellow who introduced JavaScript Object Notation (JSON) and created JSLint, a JavaScript style-checker (static code analyzer.)


"JavaScript: The Good Parts" (Douglas Crockford)

See also:


"Perl Best Practices" (Damian Conway)

Technorati Tags: , , ,

Thursday, September 04, 2008

Flamethrower Shooting Gallery Most Dangerous Interactive Installation on the Playa

The Flamethrower Shooting Gallery was a big success at Burning Man 2008.

I asked DaveX (head of fire safety for the Burning Man organization) for his view and Dave said:
"... heard nothing but good things about how you guys ran it, and I think it's the most dangerous thing out there."
Thanks Dave!

The Flamethrower Shooting Gallery was the only installation on the playa that combined horizontal flame effects with liquid fuel and was controlled by participants. The fire safety team measured the facial skin temperature on shooters at 130 degrees Fahrenheit  while the flamethrowers were in action.

This photo shows some shooters getting ready to fire with the assistance of the Range Safety Officers.

Technorati Tags: