JLS (Java Language Specification). A lawyerly document that specifies the grammar of the Java language. This is the ultimate authority on any question of what is legal syntax in Java and just what any Java program is supposed to do. It is primarily aimed at compiler writers and lawyers. It is all but unintelligible to newbies. It is the bible used to settle language disputes in Internet discussions.
It is written in a language it rarely answers my questions clearly. Perhaps I am too much of a lawyer. I find too many ways of interpreting its language. Most of the time it might as well be written in Chinese. It uses language that to me bears little resemblance to the Java symbols I manipulate. It has too many of its own abstractions. It is written to impress, perhaps as a legal document, but not to explain to ordinary humans who understand best by generalising from examples to get the general idea plus the general rule to nail down the fine points. In short, I have little confidence in my interpretations. It is OK for things I know already, but not for things I find puzzling.
The problem with using experiments to deduce the rules of the Java language is that if something does not work, it may well be for a reason quite different from the thing I am testing. If it does work, there may be no guarantee it will always work, or work in other situations.
To settle a question I use a multi-pronged approach:
Sources:
![]() |
recommend book⇒The Java Programing Language, fourth edition | |||
| by | Ken Arnold, James Gosling, David Holmes | 978-0-321-34980-4 | paperback | |
|---|---|---|---|---|
| publisher | Prentice Hall | |||
| published | 2005-08-27 | |||
| This is not The Java Language Specification, the formal language specification. This is not a suitable book for beginners. The fifth edition, 978-0-13-276168-0, is due out 2013-04-11. | ||||
| Greyed out stores probably do not have the item in stock. Try looking for it with a bookfinder. | ||||
|
|
available on the web at: |
http://mindprod.com/jgloss/jls.html |
optional Replicator mirror
|
J:\mindprod\jgloss\jls.html | |
![]() |
Please email your
feedback for publication,
letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear
wording, broken/redirected link reports, suggestions to improve this page or comments to
Roedy Green :
| |
| Blog | Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[54.226.108.247] |
|
| Feedback | You are visitor number 9,613. | |