This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
It seems to me that (even though its sometimes hard to read) the Java Language Spec has everything you need to know in the topics that it covers. The topics that do not seem to be included: - Assertions - Garbage Collection - Fundimental classes in Java.lang - The collections framework I think some of these should maybe be there. Do you agree that except on the topics above the JLS is the definitive source? (i.e. you only need to study it) PS. If there is a newer version than the: Java Language Specification Second Edition April, 2000 plEAse let me know. Thanks.
seems to me that (even though its sometimes hard to read) the Java Language Spec has everything you need to know in the topics that it covers. ... Do you agree that except on the topics above the JLS is the definitive source? (i.e. you only need to study it)
I can't agree more I think some of these should maybe be there. I don't think so. Quoting from the JLS preface, the goal of the JLS is to:
This book attempts a complete specification of the syntax and semantics of the language. We intend that the behavior of every language construct is specified here, so that all implementations will accept the same programs.
I do agree, though, that the assertions specification should be included in the JLS and this was wanted by the JLS authors, as the following quotes from the preface shows:
At this writing, there are ongoing initiatives through the Java Community Process to extend the language with generic types and assertions, refine the memory model, etc. However, it would be inappropriate to delay the publication of the second edition until these efforts are concluded.
I would agree too. I currently own to older versions of exam cram and RHE (I think its RHE..big blue book) both of which I bought fall of 2000. Everytime I read the JLS and then go read the corresponding chapters in my study books I feel its saying the exact same thing...except in English I think the line from Beetlejuice "This thing reads like VCR instructions" fits when talking about the JLS, at least for me.