I Object

May 10, 2007

One of the two really clever ideas in JavaScript is that objects are dynamic collections with differential inheritance. Differential inheritance means that when object B inherits from object A, object B does not have to contain a copy of all of...

Read more →

I'd Rather switch Than Fight!

April 25, 2007

JavaScript's switch statement was inspired by Java's switch statement, which was inspired by C++'s switch statement, which was inspired by C's switch statement, which combined aspects of C. A. R. Hoare's case statement and Fortran's computed goto...

Read more →

JSON and Browser Security

April 10, 2007

JSON is a data interchange format. It is used in the transmission of data between machines. Since it carries only data, it is security-neutral. The security of systems that use JSON is determined by the quality of the design of those systems. JSON...

Read more →