Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

Dr.Nikolai Bezroukov's Devil's Advocate Commentary on "Thinking in Java" by Bruce Eckel. 
Introduction.  v.0.4. 04/05/98


Disclaimer: I would like to stress that the role of devil's advocate is to be critical. At the same time I believe than Java has a bright future and that TIJ can be listed among ten best books on Java. That's why I am writing this Commentary. This Commentary is a work in progress. Currently it is incomplete, buggy, and may contains bad links. All views expressed in the Commentary are my own. .

Introduction

"Thinking in Java" (or TIJ for short) is a thick 1100 page volume with a really original, distinctive cover. For such a volume the book is reasonably priced (partially because there isn't a CD). All examples from the book and, what is even more important, the full text of the book are available from the author's website. TIJ can be considered as one of the first second-generation Java books with a more sober approach to the language. The book got very good rating in the Amazon.com (almost all are ten; BTW if you are using reviews from the  www.amazon.com site, I advice you to drop one review with the highest and one with the lowest marks and use remaining for your judgment).

I like the cover too. The polished wood on the cover looks natural. It's definitely better than early religious paintings that now often used in other books, although the latter do provide a better metaphor for the religious zeal of some Java evangelists.  BTW the cover is inspired  by the  "American Art & Crafts Movement" that emphasized the importance of the individual craftsman in the use of modern tools.

Writing an introductory book on Java is a pretty tricky task. The competition is very strong and with each new rellease of JDK the inflation of value is like inflation of the ruble after dissolution of the USSR (i.e. more than 100% a year ;-). There are more than 500 books on Java, and more than 80% of them are introductory. Than means that in just three years Java became third most important computer language after Basic (more than 3000 books), C/C++ (more than 2000 books) and Pascal (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 fashionable and than means that a lot of books were created just to milk the cow. So buyers beware. I use a simple checklist to determine whether a particular introductory programming language book is worth reading:

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

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

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

4.  Does the author have a personal web-site with an area devoted to the book ?

5.  Does the book have examples and errata available on the WEB?

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

7. Whom 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.2 (no diagrams for storage allocation and visibility) and q.6 (some examples need improvement).

Bruce Eckel has found an interesting solution to make his book different despite a Java introductory books glut -- he published the book on the WEB first. At he states himself in the Foreword "it turned out to be the smartest thing I've ever done with a book".  I have a similar experience in publishing my book "Computer virology" in 1989 in Russia first on floppy and then on paper. The fact that the book is available free is a definite advantage. The author benefit from comments and suggestions of early readers and the first edition will be more like the second in quality. Several publishers are now using this approach (see for example McGraw-Hill betabooks site or QUE Personal Bookshelf). If you are ordering from an Internet bookstore that provides the possibility of  "try before you buy" approach. Moreover Java changed so rapidly than the book is often become obsolete before it goes out of print. This is partially the case with TIJ. Still the fact that the book is available in electronic form make a paper edition more attractive as you can use both simultaneously and makes changes and add comments to the electronic version of the book. 

The book was typeset by the author in MS Word 97. That approach has one great advantage – it usually makes the book much more up-to-date than a traditional typesetting, and the book looks much more fresh than other early 1998 books typeset in a traditional way. For example it contains a discussion of  the JFC (a.k.a. Swing library) and from the point of view of new Java developments, it will probably remain competitive with books published until the end of  1998.

But such an approach is not without flaws.  The main drawback of the typesetting style used is that the book  lacks diagrams that will clarify concepts (probably due to some limitations of Ms Word 97).  Layout is mostly plain vanilla text with a very few fonts. An important thoughts are not reiterated and were not put in a separate font. Regrettably, like most other books on Java, Java programs are all typeset at plain Courier with IMHO excessive spacing between the lines. Sometimes smaller font can be used in both examples and output listings. These two factors contributed to the volume of the book adding probably extra 10% to %20.

At the same time the method the author used for writing of the book permits richer typesetting of Java programs. It would be a great difference if the author will do that in future editions. Also MS Publisher should probably be used along with MS Word for typesetting and each chapter should be stored as a separate document instead of a single huge file.

The main complain about the book is almost complete absence of illustrations. Again, one of the reasons here are limitations of MS Word, but I believe there are workarounds, so this is a real drawback of the first edition, than need to be corrected. BTW Bruce Eckel seminar materials suggest that the author is a gifted artist (even played the saxophone) and he definitely can produce interesting illustrations.

The main idea of the book is right -- the programming language should be learned through experimentation with it. Examples are well structured to expose the properties of the language in question. Such an approach is very well suited for teaching. so the book is definitely recommended for  the universities.   

I would like to stress that despite being in the first edition TIJ is quite polished (all examples that I tested worked). Here the method of publishing of the book show its real advantages.

Now let's talk a little bit about competition. 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. Again there is no electronic version of the book available.


Recommendations  for the second edition


Useful links

Online version of the book competes with other Java e-books and tutorials. See Yahoo!Java or www.developer.com for the most up-to-day list. Developer.com 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



Etc

Society

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

Quotes

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

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : 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.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

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 Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

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 to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019