On Sat, Jun 14, 2003 at 04:40:57PM +1200, Chris Wilkinson wrote:
> True, but I'd be happier to accept Javascript as a standard than
> Jscript since the M$ product is nothing more than a bastardisation of
> the other.
If you want to talk about real, open standards, both Javascript and
JScript are bastardisations of ECMAScript. The fact that JScript was
later to the party does not matter that much.
> Also, Javascript works essentially the same on
> Netscape/Moz/Opera/Konq, and any other browser you might care to name,
> except MSIE...
Essentially? There is a big difference between essentially and exactly.
A big enough difference that you end up with corner-cases where you need
different code for each browser. Following the standard would help move
away from this.
The other browsers you mentioned are playing catch-up in compatiblity
with the big two (Netscape and Internet Explorer). They had to pick one
of the de facto standards to emulate, and they went with trying to
support most of Javascript. It could have gone the other way, and then
you would be complaining about Javascript being the "bastardisation".
But the fact is, neither of these are an open standard. ECMAScript is,
and this is what people should be pushing for complete support of.
Support Javascript is just as wrong as support JScript.
Cheers,
-mjg
--
Matthew Gregan |/
/| [EMAIL PROTECTED]