Arrays in JavaScript are a superset of LinkedLists, Queues and Stacks.
Unless maybe some performance gain (which I doubt, especially when using
Class), it only has experimental or theoretical uses. And is can be fun to
make it yourself.

Many other languages have specific structures/classes for this, depending
on the needs.

On Sat, Mar 10, 2012 at 5:44 PM, Matthew Hazlett <[email protected]> wrote:

> IMHO, you can accomplish all the functions in your class (and much much
> more) with existing methods:
>
>    - http://mootools.net/docs/core/Types/Array
>    -
>    https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array
>
> It's best not to duplicate technologies that exist already much less
> change the names of the methods.
>
>

Reply via email to