The WingDings Study Group (http://tech.groups.yahoo.com/group/wingding) begins our exploration of "Effective Java, 2nd Edition" by Joshua Bloch. The next...
I am hoping to FINALLY make this meeting - Been lurking for a long time - anything I need to know about parking or getting in to the building?? Cheers! Linda ...
... It's quite simple: Take the white, yellow, green and blue bottles that you find on the parking lot outside of the building (you will have to move the...
Fulcrum is on Aurora Ave N. (http://tinyurl.com/6cmgoz). Google maps can get you there well enough. The parking lot is visible from the meeting room so even...
Also apropos of last night's meeting: http://java.dzone.com/articles/why-im-not-a-fan-of-javas-auto ... -- - Jason...
jason marshall
jdmarshall@...
Jul 9, 2008 6:08 pm
954
... I'm unconvinced by this particular argument. Methods should not be returning wrapper classes. In my opinion, the only two valid uses of wrapper classes...
Yeah, I'm not so keen on Boolean as the example here. Maybe Integer would have worked better. That said, I've seen plenty of tables where a 'boolean' field...
jason marshall
jdmarshall@...
Jul 9, 2008 6:55 pm
956
... What are the alternatives? Keep two booleans (one for "value is specified", and the other for the value itself)? Create enums every time you have an...
Hi, First, thanks Robert for you're willingness to organize the group and of course thank you to everyone that comes. On the first page of chapter 2 Bloch...
Josh is a careful and conscientious thinker, and a very good writer and speaker, but genius? That's a heavy. (That said, no one would accuse Josh of being...
PS - I should have written "Factory Method pattern" instead of Factory Method. In a nutshell, I meant to say that static factory methods as used in Item #1 do...
The pattern doesn't from my understanding require that the implementation use an interface. I'm not pattern expert, but isn't the intellectual holy grail of...
Aeden, We both agree that static factory methods can be used to implement a simple variant of the Factory Method pattern, right? I think the question is...
The WingDings Study Group (http://tech.groups.yahoo.com/group/wingding) continues our exploration of "Effective Java, 2nd Edition" by Joshua Bloch. The next...
... Now I'm not sure. Can you think of an example? ... Right. I think I get it now. I just had it stuck in my head that the Gof pattern referred to the more...
Overriding equals to allow subclasses to be equal causes a number of problems since symmetry is critical of the functioning of equals - namely that a.equals(b)...
... I was thinking of a singleton factory class with lots of static factory methods for creating stuff. Even an abstract class that provides a static factory...
Steve, In EqualCode.equals, if (obj == null ) return true; violates "For any non-null reference value x, x.equals( null ) must return false". Bug or is this...
They talk about all of this in the chapter. They also talk about choosing good hashcode algorithms, and the Point class below is a good example of how NOT to...
jason marshall
jdmarshall@...
Jul 22, 2008 7:40 pm
968
We had plenty of discussion about these various methods at the last meeting, mostly to do with special cases and how there are not general solutions for all...
... see Robert's comment on null returns true? It seems wrong to me. ... I'd make that protected since it is really directly intended to be something you'd...
The WingDings Study Group (http://tech.groups.yahoo.com/group/wingding) continues our exploration of "Effective Java, 2nd Edition" by Joshua Bloch. The next...
I will not be there. And as Bob announced last meeting, he will not be there. Any possibility of a defferal? Thanks, George ... continues our exploration of...
In implementing a custom version of Set the following code was proposed to implement equals and hashcode. I was uncertain how it would weather code review and...
You guys go own without me. Save yourselves. I'll be all right... Seriously, I think WingDings should press on at the very least to maintain the momentum we...
Hey all, I would really like to hear people's opinions on setting up a study group in the work place. What are some of the potential pitfalls and difficultes...
I think the factors that lead to a successful study group in the work place are virtually identical to those factors that lead to a successful study group...