ES3.1 Object static methods rationale document
Ingvar von Schoultz
ingvar-v-s at comhem.se
Fri Jul 18 08:08:17 PDT 2008
Allen Wirfs-Brock wrote:
> Object.create's heritage is Doug Crockford's beget function and its primary purpose is to provide a more direct way to create an object with an explicitly specified prototype.
I think the name Object.createHeir would clarify its use better.
--
Ingvar von Schoultz
------- (My quirky use of capitals in code comes from my opinion that
reserved and predefined words should all start with lowercase, and
user-defined should all start with uppercase, because this will easily
and elegantly prevent a host of name-collision problems when things
like programming languages are upgraded with new labels.)
More information about the Es4-discuss
mailing list