Iterators/vectors (was: [Biocorba-l] BSANE and bioCORBA)
Michael Dickson
mdickson@netgenics.com
Tue, 05 Jun 2001 07:16:38 -0400
Martin beat me to the punch. Unless we identify a requirement to
iterate over structs you'd not need to use anys but simply an untyped
corba Object (as my example indicated). That'd certainly be my
preference as well and it keeps us clearly in the camp of features
supported by most of the open orbs.
Mike
Martin Senger wrote:
>>I think that adding any's makes the code
>>much more difficult to deal with,
>>
> 1) The generic iterator may or may not use anys. AFAIK the current
>Juha's suggestion does not use anys but a general CORBA object.
> 2) The usage of anys is easy once you make the first example. It's good
>to take into account things which do not exists in many ORBs, such as
>valuetypes, but it would be a bit too prudent to throw out other things
>just because they need few more lines of code. In any language you can
>provide nice libraries and utilities for it.
>
> Martin (who dislikes snakes, _any_ snakes :-))
>