May the source be with you, but remember the KISS principle ;-)

Contents Bulletin Scripting in shell and Perl Network troubleshooting History Humor

Thinking in Java
by Bruce Eckel
List: $39.95

Paperback, 1100 pages
Published by Prentice Hall Computer Books
Publication date: March 1998
ISBN: 0136597238

"Thinking in Java" (or TIJ for short) is a thick 1100 page volume with an original, distinctive cover. It is unique that not only all examples from the book, but the full text of the book is available from the author's website.

I like the idea of cover -- the idea of programming as a kind of craft. Polished wood on the cover looks natural. It's inspired by the "American Art & Crafts Movement" that emphasized the importance of the individual craftsman in the use of modern tools.

The main idea of the book is right -- the programming language should be learned through experimentation with available implementation. Examples are well structured to expose the properties of the language, especially OO features. Such an approach is well suited for teaching. At the same time when examples are designed for experimentation, they fail to reveal typical idioms used in practical programming and this is a drawback of such an approach. To compensate for weaknesses of current examples the author probably can eliminate some water from them and add some examples illustrating idioms and/or provide comments for the examples included with JDK.

TIJ can be considered as one of the first second-generation Java books with a somewhat sober approach to the language. The author does not consider Java as a replacement for C/C++ as it's actually competes with VB and PowerBuilder. The book still contains hype about OO, but on a tolerable level. Some references to design patterns movement have a flavor of proselytizing, but people critical to the patterns movement can easily ignore them. At the same time, the language constructs are explained well, especially OO-related features. Generally the book is focused on high-level staff. JVM and debugging -- the last one is probably the most problematic in adopting Java in large projects (before OO people used to make their own errors; now they tend to inherit them ;-) -- are not discussed at all.

Writing an introductory book on Java is a very tricky task. With each new release of JDK the inflation of the value of already published books is comparable to the inflation of the ruble after the dissolution of the USSR (i.e. more than 100% a year ;-). There are already more than 500 books on Java, and more than 80% of them are introductory. Judging from this standpoint in just three years Java became the 4-th most important computer language after Basic (more than 3000 books), C/C++ (more than 2000 books) and Pascal/Delphi (more than 900 books). There are more books on Java than on Fortran (less than 500), Cobol (less than 500), Lisp (less than 200) -- the languages with more than two decades of history. Java is extremely fashionable. So buyers beware ;-). I use a simple checklist to determine whether a particular introductory programming language book is worth reading:

1. Is the text of the book available electronically or on the CD?

2. Does the author have a personal web-site with an area devoted to the book (if not he probably does not care much about the book)?

3. Does the book have an updated examples and errata available on the WEB (the examples *always* need updating after publishing ;-)?

4. How practical are the examples and how much of the code can be reused ?

5. Is the Donald Knuth article "Structured programming with GOTO" mentioned in a chapter on control structures and short-circuit AND/OR explained in the "if" statement?.

6. Is visibility rules and storage allocation mechanisms (especially difference between static and dynamic allocation) explained clearly using both examples and diagrams ?

7. What books the author recommends ("the friends of my friends ...") ?

Not many books will pass this test, so the choice became much easier. TIJ passes all, but q.4 (examples are designed for experimentation with the language, not for practical use) and q.6 (no diagrams for storage allocation and visibility).

IMHO this book represents a major innovation in publishing -- I would like to call it a parallel publishing. Bruce Eckel has found an extremely interesting solution to make his book different despite a Java introductory books glut -- he published the book on the WEB first. This "Try before you buy" approach has a lot of advantages. As he states in the foreword "it turned out to be the smartest thing I've ever done with a book". The book definitely benefited from comments and suggestions of early readers. Several publishers are now trying this approach (see for example McGraw-Hill betabooks site), but to a more limited extent (final copies of the books are never available from the McGraw-Hill site).

The book was typeset by the author in MS Word 97. That approach always makes the book more up-to-date than a traditional typesetting, and it probably contain less typos than other early 1998 books typeset in a traditional way. All examples that I tested worked. In comparison with other books published in the first quarter of 1998, it contains more recent information. For example, a discussion of the JFC (a.k.a. Swing library).

However, such an approach is not without flaws. The main drawback is that the book lacks diagrams that will clarify concepts (probably partially due to monolithic approach -- MS Word 97 is not very good in working with such long documents). Layout is mostly plain vanilla text with a very few fonts. Important thoughts are not reiterated and were not put in a separate font.

Regrettably, like most other books on Java, examples are all typeset at plain Courier with excessive spacing between the lines. It contributed to the volume of the book. ALGOL-style typesetting of examples would be much better.

First there is a definite advantage that Bruce Eckel is an expert in C++ and has authored four books on C++. So his strongest competitors are the authors who have published books on C++. I read not so many of them and the list below is very limited:

Among other books that worth buying and reading I would like to mention Java in a Nutshell: A Desktop Quick Reference (The Java Series) by David Flanagan(see reveiw of by Doug Nickerson in ERCB). Again there is no electronic version of the book available.


On ERCB scale I would like to give the book the following marks (The Originality mark is connected with electronic distribution of the text, low mark on design is connected with lack of diagrams and poor typography.

Readability ***+
Originality ****
Organization ***
Accuracy ***+
Consistency ***+
Depth ***
Timeliness ***
Editing  ***
Design **
Overall Value ***+

Explanation of ERCB rating scale: No stars = unacceptable, 1 Star = marginal, 2 Stars = average, 3 Stars = above average, 4 Stars = exceptional.

I recommend this book for readers proficient in at least one procedural language, but who suffer from the inferiority complex and want to learn of all this modern Java/OO staff ASAP;-). The book is definitely useful for teaching the language.

Recommendations  for the second edition

Useful links

Online version of the book competes with other Java e-books and tutorials. See Yahoo!Java or for the most up-to-day list. Java Programming Section is a very useful resource for links to programming in Java and and WEB programming (Perl, HTML, etc.). It contains  more documents than I want to list here.  

Free Java e-books and tutorials


Recommended Java books 
(some contain free sample chapter; most contain examples and corrections



Groupthink : Understanding Micromanagers and Control Freaks : Toxic Managers : BureaucraciesHarvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Two Party System as Polyarchy : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy


Skeptical Finance : John Kenneth Galbraith : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotes : Oscar Wilde : Talleyrand : Somerset Maugham : War and Peace : Marcus Aurelius : Eric Hoffer : Kurt Vonnegut : Otto Von Bismarck : Winston Churchill : Napoleon Bonaparte : Ambrose Bierce : Oscar Wilde : Bernard Shaw : Mark Twain Quotes


Vol 26, No.1 (January, 2013) Object-Oriented Cult : Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks: The efficient markets hypothesis : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Vol 23, No.10 (October, 2011) An observation about corporate security departments : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law


Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Haterís Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor


The Last but not Least

Copyright © 1996-2014 by Dr. Nikolai Bezroukov. was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Site uses AdSense so you need to be aware of Google privacy policy. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine. This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to make a contribution, supporting hosting of this site with different providers to distribute and speed up access. Currently there are two functional mirrors: (the fastest) and


The statements, views and opinions presented on this web page are those of the author and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.

Last modified: July 07, 2013