I realize that arrays have worked this way for ages, but why do we have
to continue with the old ways?
It would really be nice if you could add a new row (element) to an array
one at a time (as required).
In some cases, the programmer doesn't know how many objects that will be
loaded into an array until runtime. I know you can process the source to
find out how large it is and use this to update a variable that was used
to initialize the array. However, this seem's rather inefficient to me.
Why not create a new row in an array (using "new") just before an
assignment when you are inside a loop (e.g., when you are reading items
from a file line by line)?
This can be done for the creation of other objects. Why can't it be the
same for arrays?
This would be much more intuitive.
Comments?
Mike
*** Sent via Developersdex http://www.developersdex.com ***