Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Core Java for the Impatient

 
Harsha Lingareddy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Author , how is this book different from other core java books ??
 
Cay Horstmann
author
Ranch Hand
Posts: 172
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The principal difference is that it takes a fresh look and teaches you how to best work with the tools that Java 8 has to offer.

Where another book would say "A very long time ago, we used to do it this way, and then a little while later that way, and eventually a third way, and then Java 8 came along, and here is the good way", I start out with "Here is the good way".

Also, I just had a peek at another Java book, and I was surprised how inaccurate it was. For example, it merrily tells you that a String is a sequence of Unicode characters, and that each character fits into 16 bits. That was true in 1995, but nowadays Unicode is a 21-bit code, and you need to know a bit about the UTF-16 encoding to work with Java strings. I tell you that kind of stuff.

Hope that helps,

Cay
 
Campbell Ritchie
Marshal
Posts: 52663
121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it does. Does that include what \uxxxx escape to use to get Unicode characters with a value > 0xffff?
 
Cay Horstmann
author
Ranch Hand
Posts: 172
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure, I explain that. More usefully, I tell you how to avoid the heartache, by using



Then you get the code points, not the variable-length encoding.

Cheers,

Cay
 
Campbell Ritchie
Marshal
Posts: 52663
121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. Maybe I should get your book after all
 
It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!