
mjk
Java by Comparison: List of typos in Book version P1.0 March 2018
Here is a list of probable typographic and editing errors.
- p. 3, “to discuss, if it’s better” -> “to discuss if it’s better”
- p. 8, “Brackets” (twice) -> “Parentheses”. I beg the indulgence of en-UK speakers, but in en-US and in the Java Spec, “brackets” refers to square brackets or angle brackets and not to parentheses; note also this entry in the index, p. 167: “[] (brackets), Booleans, 8”
- p. 25, the third change arrow in the margin of the snippet should be removed, as the line is unchanged from that on p. 24
- pp. 30-31, “1.60934;” -> “1.609344;”
- p. 33, “on page 48 so that” -> “on page 48, so that”
- p. 49, “(Trailing whitespaces)” -> “(Leading and trailing whitespace)”
- p. 52, “both–a” -> “both a”
- p. 53, “is clearly standing” -> “clearly stands”
- p. 53, “The following description” -> “The subsequent description”, or “The description that follows the summary sentence”
- p. 54, “when you pass null”, the “null” is in the wrong font, see page 6 for a precedent of using the inline code font for null
- p. 61, “the name … already scream out” -> “the name already screams out”
- p. 62. “JavaBeans and yes” -> “JavaBeans, and yes”
- p. 71, “lastname” -> “lastName”
- pp. 74-75, “1079252850” -> “1079252848.8” – hey, it’s rocket science, OK!
- p. 81, add a change arrow to the snippet line “rawId, rawMessage), e);”
- pp. 105, 111, “unicode” -> “Unicode”
- p. 115, “You can even give” -> “You should give”
- p. 116, “If you insert null instead” -> “If you pass in null instead”, because the topic is an input parameter and unrelated to a list operation
- p. 139, “on page 136 and many” -> “on page 136, and many”
- p. 149, “In the last chapter” -> “In this chapter”
- p. 149, “outlook” -> “overview”
Most Liked

simonharrer
Author of Java by Comparison
Thanks. We’ll take this into account if there’s a editing round sometime in the future.
1
Popular Pragmatic Bookshelf topics

In Chapter 3, the source for index introduces Config on page 31, followed by more code including tests; Config isn’t introduced until pag...
New

page 37
ANTLRInputStream input = new ANTLRInputStream(is);
as of ANTLR 4 .8 should be:
CharStream stream = CharStreams.fromStream(i...
New

Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks”
While running the smoke tests in Chapter 2, I get these...
New

Working through the steps (checking that the Info,plist matches exactly), run the demo game and what appears is grey but does not fill th...
New

This isn’t directly about the book contents so maybe not the right forum…but in some of the code apps (e.g. turbo/06) it sends a TURBO_ST...
New

Dear Sophie.
I tried to do the “Authorization” exercise and have two questions:
When trying to plug in an email-service, I found the ...
New

Hello! Thanks for the great book.
I was attempting the Trie (chap 17) exercises and for number 4 the solution provided for the autocorre...
New

Hi, I’m working on the Chapter 8 of the book.
After I add add the point_offset, I’m still able to see acne:
In the image above, I re...
New

Title: Agile Web Development with Rails 7: (page 70)
I am running windows 11 pro with rails 7.0.3 and ruby 3.1.2p20 (2022-04-12 revision...
New

I got this error when executing the plot files on macOS Ventura 13.0.1 with Python 3.10.8 and matplotlib 3.6.1:
programming_ML/code/03_...
New
Other popular topics

I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New

Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New

Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New

I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New

Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New

Author Spotlight
Mike Riley
@mriley
This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New

Author Spotlight
Erin Dees
@undees
Welcome to our new author spotlight! We had the pleasure of chatting with Erin Dees, co-author of ...
New

Author Spotlight:
David Bryant Copeland
@davetron5000
We’re so happy to bring you another Author Spotlight, a series where we sit dow...
New

Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New

Author Spotlight:
Bruce Tate
@redrapids
Programming languages always emerge out of need, and if that’s not always true, they’re defin...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /onivim
- /typescript
- /svelte
- /crystal
- /kotlin
- /c-plus-plus
- /tailwind
- /gleam
- /react
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /html
- /opensuse
- /centos
- /php
- /deepseek
- /zig
- /scala
- /textmate
- /sublime-text
- /lisp
- /nixos
- /debian
- /react-native
- /agda
- /kubuntu
- /arch-linux
- /django
- /revery
- /ubuntu
- /spring
- /manjaro
- /nodejs
- /diversity
- /lua
- /julia
- /c
- /slackware
- /markdown