On Oct 31, 2007, at 4:28 AM, Yehuda Katz wrote:
---------- Forwarded message ----------
From: Yehuda Katz <[EMAIL PROTECTED]>
Date: Oct 31, 2007 3:58 AM
Subject: Re: Language Size (was Re: [TLUG]: ECMAScript
("Javascript") Version 4 -FALSE ALARM)
To: Lars Hansen <[EMAIL PROTECTED]>
A massive chunk of these are the duplicate methods in the intrinsic
namespace. If you remove those, you actually have very few new
classes or methods (see below). Another big chunk is getters and
setters that represent old ES3 methods pre-getters and setters.
Specifically, removing the duplicate intrinsic methods (but not
removing replacing getters/setters, etc.), there are 256 new items
on this list, vs. 276 old methods. Hardly "bloated".
That doesn't exactly match my count, but close enough. For ES4 I
removed all duplicate intrinsic:: names (not sure what these are for
but I'll trust that they are not interestingly different), one of the
two String classes, and meta::invoke. For ES3 I did not count [[Call]]
internal properties or the like. I get:
ES3: 220
ES4: 437
Seems to be about the same ~2x increase that you report, though we
used different methodologies to count. I would not count this as
excessive growth, when it comes to the standard library.
Regards,
Maciej
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss