Proposal: Large arrays

Mark Mahieu markmahieu at googlemail.com
Tue Mar 24 15:20:57 PDT 2009


2009/3/24 Joe Darcy <Joe.Darcy at sun.com>
>
>
> ... which is generally why I favor letting collection-like types use the
> bracket notation to get and set elements.


+1


>  That would eliminate the
> syntactically advantages of arrays.


Except, possibly, for 'adding' elements to them, which in many cases just
looks like:

    fooArray[i++] = foo;

Collections could conceivably go even cuter though:

    fooList += foo;

and

    fooList -= foo;



Mark



More information about the coin-dev mailing list