Lurker News
Until now I've read:

- The Healthy Programmer
- Clean Code
- Test-Driven Development by Example
What should I add to my library?

Comments (337) 132 threads

Show all comments

Showing thread 74 of 132

patricklouys2 replies#
Effective Java (lots of good generic OOP advice)

Implementing Domain Driven Design

einpoklum4 replies#
Although I liked Effective Java a lot, and it does contain a lot of advice relevant to many OO languages - it is the opposite of language agnostic: It's very Java-specific. Much of the content is irrelevant except in Java itself; and some of it is the opposite of "Effective language X". For example, it has a section named "Prefer lists to Arrays"; any C++ programmer will tell you the opposite (and that goes down to some of the arguments, such as Java not supporting generic arrays while C++ supports them).

So - good book, but not for this purpose.

patricklouys#
Yeah some chapters were useless for me, but I still took away a lot from that book as a PHP developer.
TeMPOraL#
I haven't read the book, but I guess part of the argument is because ArrayList in Java is backed by an array, and is what is usually called a "vector" in other languages, while the generic List interface is what you would call a "sequence" elsewhere.
javabean22#
But it also tells you why to prefer x over y, every time it gives any recommendations. And it's always explained well. So I think reading this book will help you make conscious decisions while using other languages. It's just a very well written book.. Which is pretty rare..
leoc#
Of course a lot of it is Java-specific, but there's enough advice that seems relevant to $BOG_STD_OO_LANG that it's probably worthwhile for this purpose.