[Prototype-core] Re: Unique Arrays

2007-08-05 Thread Andrew Dupont
Wherever it makes sense, Prototype follows Ruby's general philosophy, and that includes naming scheme. If the most confusing result is that someone expects "unique" instead of "uniq," that's a gambit I'm willing to make. A developer would immediately know what "uniq" means upon reading documentati

[Prototype-core] Re: Unique Arrays

2007-08-04 Thread Jeff Watkins
Except that many users of Prototype don't use Ruby. On Aug 4, 2007, at 5:55 PM, Mislav Marohnić <[EMAIL PROTECTED]> wrote: > On 8/1/07, Ken Snyder <[EMAIL PROTECTED]> wrote: > > Unique might be specified array method in JavaScript 2.0--otherwise, > yes, "unique" is more intuitive than "uniq". >

[Prototype-core] Re: Unique Arrays

2007-08-04 Thread Mislav Marohnić
On 8/1/07, Ken Snyder <[EMAIL PROTECTED]> wrote: > > > Unique might be specified array method in JavaScript 2.0--otherwise, > yes, "unique" is more intuitive than "uniq". "uniq" is Ruby. IMO, there's no need to alias "unique" to it --~--~-~--~~~---~--~~ You receiv

[Prototype-core] Re: Unique Arrays

2007-08-01 Thread Ken Snyder
Tom Gregory wrote: > You may want to check out Prototype's "uniq" function. > http://prototypejs.org/api/array/uniq > > ... and to the core dev's.. maybe this deserves an alias? > > > TAG > ... I was thinking maybe "unique" was a reserved word but I don't see it on the list of reserved words (ht

[Prototype-core] Re: Unique Arrays

2007-07-31 Thread Tom Gregory
You may want to check out Prototype's "uniq" function. http://prototypejs.org/api/array/uniq ... and to the core dev's.. maybe this deserves an alias? TAG On Jul 31, 2007, at 7:25 PM, Tom Anderson <[EMAIL PROTECTED]> wrote: > > Hello, > > I enhanced 1.4.3 for db.etree.org. Among my changes i