Clinton Begin wrote:
Sure I'll join...  ;-)

In my opinion, using a Map is one step below using a class with public
fields (a.k.a. C-style struct).  Both lose the advantage of
encapsulation.  However, a Map is worse still in that you also lose
type definition (which fields are on a domain object) and type safety
(which type is each field).

Yeah, I hate all that casting stuff you have to do in java when getting things out of collections. Generics thing in java 1.5 might help out with this.


Regards,

huy

Reply via email to