Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [smila-dev] new datamodel iterating thru Map and Seq

Am Montag, den 28.03.2011, 13:36 +0200 schrieb
Andreas.Weber@xxxxxxxxxxxxx:
> 1a)  ok, but I'd prefer the method names: asValue(), asMap(), asSeq(). Looks more stringent to me, cause we already have the as-Methods on Value level.
> But keep in mind that this also assumes internal knowledge by the caller... the cast/invalidtype exception is just moved from outside to inside.
> 
> 2)  +1
> 

+1 on 1a) and 2) from me, too. With the asXX names (:

Cheers,
Jürgen.


Back to the top