for better or worse, my free time is consumed by two Java series books
from Sun:
Java Platform Performance, 2000, by Wilson and Kesselman
Effective Java, 2001, by Bloch
1.) opinions on these books? good/bad/mediocre/great/etc? are they
up to date, or out of date?
2.) please do check out my code at
http://www.geocities.com/cjavacjava/src/ comments welcome :)
3.) i'm very impressed with the idea(s) of using small immutable
classes for composition. it's massively simplified my efforts towards
a "sim" of a cat/dog ecosystem. is this a common technique? is it
"modern" and "trendy", or "old" and "tired"? or am i just scratching
the surface of how things are really done in java? (ignoring
smalltalk/c++/c#) are static factory's common?
4.) I presently have two classes, LifeForm and Location, and'll add a
"Driver" class. the idea is the driver class will hold the collection
(vector for now) of LifeForm objects, who'll wander around
independantly. maybe twice a second I'd like to get a LifeForm object
to make a call(?) to incrementX. I want each life form to move
totally independantly. good/bad idea? if ok, pls point me in the
direction to get started on that.
5.) if small, immutable classes truly give better performance and are
_easier_ to design/use/etc, then what's the big deal with beans?
seems a major contradiction.
thanks,
ja***@mail.com