NOTE: Although the book refers to the web site www.OnJava8.com, that site is not yet live.
The examples are freely available at https://github.com/BruceEckel/OnJava8-Examples.
On Java 8 is only available as an eBook, and only via Google Play Books. Any other source or delivery mechanism is illegitimate.
This book is far too large to publish as a single print volume, and my intent has always been to only publish it as an eBook. Color syntax highlighting for code listings is, alone, worth the cost of admission. Searchability, font resizing or text-to-voice for the vision-impaired, the fact you can always keep it with you---there are so many benefits to eBooks it's hard to name them all.
Anyone buying this book needs a computer to run the programs and write code, and the eBook reads nicely on a computer (I was also surprised to discover that it even reads tolerably well on a phone). However, the best reading experience is on a tablet computer. Tablets are inexpensive enough you can now buy one for less than you'd pay for an equivalent print version of this book (which, note, does not exist). It's much easier to read a tablet in bed (for example) than trying to manage the pages of a physical book, especially one this big. When working at your computer, you don't have to hold the pages open when using a tablet at your side. It might feel different at first, but I think you'll find the benefits far outweigh the discomfort of adapting.
I've done the research, and Google Play Books provides a very nice reading experience on every platform, including Linux and iOS devices. As an experiment, I've decided to try publishing exclusively through Google Books.
The free sample includes a complete table of contents.
7 有用 Kwanwoo 2020-12-30 15:37:05
很多人不喜欢这本书的啰嗦,但对于新手,这种啰嗦是一种营养。
3 有用 wdpm 2020-05-02 15:59:20
看的是开源翻译(https://zyb0408.github.io/gitbooks/onjava8/),翻译质量一般,部分章节请酌情跳过。内容属于入门级别,并没有过多深入JDK源码,而是聚焦于API的使用和思考。书中个别例子(IO流)不好,非常长,而且似乎也不够经典,个人认为入门书的例子应该十分简洁,点到即止。相比而言,还是觉得effective java更好
1 有用 xxxxdhhxma 2020-04-04 09:13:28
例子很长,不过只要感兴趣并且有耐心,完全看的下去
0 有用 沐 2022-12-12 17:47:02 江苏
竟然不叫thinkingInJava5,我还以为没有5了
1 有用 Blackbird 2020-05-25 17:05:26
这本书例子代码是真的长,不够讲的还算可以,翻译的有点烂。。。