Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Java in a Nutshell

    Java in a Nutshell

    David Flanagan · 1996

    This handbook is a quick reference which provides an accelerated introduction to Java for C and C++ programmers who want to learn the language fast. The fourth edition of the handbook covers Java 1.4 beta that differs considerably from Java 1.3.

    ProgrammingComputer Science
    Open LibraryAmazon
    Stats for nerds
    6recommend
    14mentions
    14people
    2009–2025years
    43% recommend50% neutral7% critical

    Mentions per year

    200920112013201520172019202120232025

    What Hacker News says

    1. TeaVMFanSep 2024
      I can vouch for the quality of the Java documentation. Having learned Java primarily from the online javadoc pages, the Sun Java Tutorial, and Java in a Nutshell, I think the Java documentation really set the bar high.
      thread
    2. blueatlasMay 2016
      C should be the defacto language for 1st year CS students. It is not highly abstracted from hardware, and much easier to grasp Assembly knowing basic C. The syntax uptake is pretty quick, and would allow students to focus on the problem at hand (e.g. algorithms) rather than language nuance. Not to mention the advantages to the graduate starting their career in software development.

      It's also easier to go up the stack to object oriented languages, particularly Java. The second chapter, first edition, of David Flanagan's Java in a Nutshell is still, in my opinion, the best intro to Java after having some experience with C.

      thread
    3. 6renFeb 2012
      It's getting old, but the early editions of O'Reilly's "Java in a nutshell" (by David Flanagan) books were targeted specifically at C/C++ programmers learning Java. In my opinion, it's extremely well-written, being correct, clear, concise and engaging.

      From the 4th edition (which was for Java 1.4), it bulked up from 1 inch thick to 2 inches, and stopped specifically targeting C programmers. It's still good, just not as good. Also, since then, Java has added generics, annotation and several other things. Some of these (esp. generics) have a widespread impact on coding. Also, it doesn't cover the ecosystem. But if you want to start with the basics, it has them.

      For an introduction to the basics of the language, in terms of C, the earlier editions can't be beat. (your local university library will have several copies - chapters 2 How Java differs from C and 3 Classes and Objects are what you need)

      thread
    4. andyidsingaNov 2010
      Restful Web Services - great book and really opened up my thinking about how things behind web services can "resources" with different representations - rather than remote function calls.

      The original "Java In a Nutshell" - it was dry reading, but at the time is was sooo useful.

      C++ Primer Plus by Stephen Prata - this was the book that got me into programing "as a career" so to speak. I picked it randomly off the shelf and it turned out to be foundational :)

      thread
    5. stonemetalJan 2010
      Bah, the next bit on the same page:

      There are a small number of excellent Java books. I like the official specification and the books by Arnold and Gosling, Marty Hall, and Peter van der Linden. For reference I like the Java in a Nutshell series and the online references at Sun (I copy the javadoc APIs and the language specification and its amendments to my local disk and bookmark them in my browser so I'll always have fast access.)

      thread
    6. 10renAug 2009
      Are you asking about fp, or programming books in general?

      One approach I took was to go to the (University) library, and find the section on the programming topic of interest. Then grab a few books, and read a paragraph at random. Then borrow (or read there) the one that appeals to you - the writing style that makes sense to you, that addresses the issues that come to you as you read, that communicates to you. You can do the same at Borders, but the books are more vocational and less textbooky.

      If some particular part is unclear, you can compare it with other books - you now have a resource.

      Every book has something to offer. The biggest factor is what you put into it. Therefore, it's more important to pick a book that you like rather than the "best" one. Otherwise, you can get into a kind of McCarthyism where there are good books and bad books, instead of each book having strengths and weaknesses.

      To put this in perspective, I personally really liked "Java in a Nutshell", because Flanagan's writing is brilliant. It's very succinct, yet covers all the cases, has a joie de vivre about it, and yet is so transparent it's easy to not notice it (Douglas Adam's prose also has this quality). Revealingly, Flanagan loves writing; and is very well read himself. Most writers of programming books are not. Now, to me, being well-written is very pleasing; but I can imagine it not mattering at all to the next programmer.

      thread

    Related

    Cover of Effective Java
    2007–2026

    Effective Java

    Joshua Bloch
    172 recommend · 287
    Cover of JavaScript
    2007–2023

    JavaScript

    David Flanagan
    22 recommend · 32
    Cover of Java
    2008–2022

    Java

    Herbert Schildt
    2 recommend · 3
    Cover of The Java Programming Language
    2008–2024

    The Java Programming Language

    James Gosling
    3 recommend · 4
    Cover of The art of computer programming
    2007–2026

    The art of computer programming

    Donald Knuth
    336 recommend · 1,799
    Cover of The Elements of Computing Systems
    2008–2026

    The Elements of Computing Systems

    Noam Nisan
    204 recommend · 344
    Cover of Code Complete
    2007–2026

    Code Complete

    Steve McConnell
    393 recommend · 894
    Cover of Essentials of programming languages
    2008–2026

    Essentials of programming languages

    Daniel P. Friedman
    43 recommend · 76