Moving parseNNN methods to their respective classes (was: JSON Methods)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Moving parseNNN methods to their respective classes (was: JSON Methods)

Garrett Smith
On 9/3/07, Lars T Hansen <[hidden email]> wrote:
> On 9/3/07, Garrett Smith <[hidden email]> wrote:
> > On 9/3/07, Lars T Hansen <[hidden email]> wrote:
> > > On 9/2/07, Garrett Smith <[hidden email]> wrote:
<snip>

(moving to a new thread, as a new subject)

> I'm not claiming ES is very consistent; parseInt and parseFloat are
> global, not methods on Number, for example.  (Now that we have "int"
> and "double" classes these would be "parse" methods on those classes,
> maybe -- and maybe not.  After all, parseInt can return more than can
> fit in an "int".)
>
The parseNNN methods should be moved to their respective classes.
Then, the global methods can point to these class methods, and be
deprecated.

Garrett

<snip>
> --lars
>
_______________________________________________
Es4-discuss mailing list
[hidden email]
https://mail.mozilla.org/listinfo/es4-discuss