> So would a Java dev just declare a new array one index
> larger than the old
> one when adding items? Or would one not use arrays for the
> same purposes in
> Java?
Yes, they tend to be used differently. If you expect to be adding or removing
elements frequently, you probably would not use a java array at all. But would
select an object like a List, that is designed to change size. There are no
absolutes, but typically if you would select an "array" for something in CF ..
in java you would use a List instead. (Because that is what CF arrays really
are anyway .. ;-)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337440
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm