News for hackers. Stuff that matters.
Re:Reboot PHP: keep the philosophy, improve the syntax (PHP ... by WilliamLP on Friday April 30, 2010 @06:03PM (#1309554)
> A switch statement in what language?

Javascript.

> I presume by "object lookup" you mean the "bar" in "foo.bar" in javascript.

Yes, but more specifically what I tested was the foo[bar] form, where bar contains a string, versus switch(bar).

> With all respect, I think you are worrying too much :)

For a language that is supposed to be nearly ready for writing rich interactive applications including pixel-by-pixel manipulation, two orders of magnitude (and widely variable across browsers) is a huge deal. I'm guessing you haven't tried to do much canvas programming?

There are no comments on this comment yet.