I liked this article; http://www.artima.com/articles/hickey_on_time.html

And especially when thinking extra hard over mutability of objects and
what we can/should do about it.

Since we in Qi4j has very exact control over what each class is doing,
we could actually force some good practices into place if we think
that is a good idea.

For instance;
 * ValueComposite implementations must have final members, and we
auto-wrap known mutable types (collections, for instance) with
immutable decorators.


Discussion on this topic is encouraged.


Cheers
-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to