5 von 21 Kunden fanden die folgende Rezension hilfreich
Rezension bezieht sich auf: Effective Java: A Programming Language Guide (Java Series) (Taschenbuch)
This book is OK. It's neither very good nor very bad.
I can make some use of it, but as I've already read some other books on similar topics I would not recommend this one.
Some of the recommendations are not really good advice as they work around the real problem. E.g. in my opinion telescoping constructors should not be implemented at all, but the code should be refactored to avoid the problem at all.
Furthermore you have to know that it is in the style of a reference manual.
Von 2 Kunden verfolgt
Sortieren: Ältester zuerst | Neuester zuerst
1-2 von 2 Diskussionsbeiträgen
Ersteintrag: 26.10.2012 14:53:02 GMT+02:00
actually I liked the book a lot. Can you tell us, what books on similar topics you like more, so that I can compare them?
Also, I would like to know the reason for your opinion on telescope constructors and what type of refactoring you suggest to avoid them. (In my opinion, they are not a great problem)
Of course it is not a reference manual.
Veröffentlicht am 04.09.2013 21:32:07 GMT+02:00
Steve Grägert meint:
I don't think you read this particular part of the book carefully enough. The author discourages telescoping constructors and recommends the Builder pattern as an alternative which can also be used with generic types to provide more flexibility.
The author does a pretty good job in explaining the advantages and disadvantages of several approaches to achieve the same thing.
‹ Zurück 1 Weiter ›