Linked by Kroc Camen on Sat 20th Dec 2008 17:54 UTC
General Development IBM delves into what's new in PHP 5.3: Part-1 shows you the changes to the object-orientated capabilities, and Part-2 shows you the exciting new possibilities with real closures and lambda functions. ["Read more" for Kroc's personal commentary]
Thread beginning with comment 341101
To view parent comment, click here.
To read all comments associated with this story, please click here.
sbergman27
Member since:
2005-07-24

Is that really Javascript the language's fault? Or is it the browsers fault?

If I am understanding his claim correctly (which is worded a bit ambiguously), it is false as Javascript is actually implemented in the real world. Browsers implement restrictions upon Javascript code based upon the domain that it came from. For example, a script from one domain can only close browser windows that it opened itself. And a script cannot read the contents of documents loaded from different servers than the document that contains the script, or register event listeners on documents from different servers. See "Same Origin Policy":

http://en.wikipedia.org/wiki/Same_origin_policy

I don't particularly love Javascript, and personally think that my language of choice would've been better. ;-) But... for all its faults, it's not quite as bad as Kroc claims.

Edited 2008-12-22 20:31 UTC

Reply Parent Score: 2