
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

The answer to 3rd Problem of Chapter 5 (Making Choices) of “Practical Programming, Third Edition” seems incorrect in the given answer ke...
New

Title: Hands-On Rust (Chapter 11: prefab)
Just played a couple of amulet-less games. With a bit of debugging, I believe that your can_p...
New

Hi Travis! Thank you for the cool book! :slight_smile:
I made a list of issues and thought I could post them chapter by chapter. I’m rev...
New

Title: Intuitive Python: docker run… denied error (page 2)
Attempted to run the docker command in both CLI and Powershell
PS C:\Users\r...
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

I ran this command after installing the sample application:
$ cards add do something --owner Brian
And got a file not found error:
Fil...
New

I’m under the impression that when the reader gets to page 136 (“View Data with the Database Inspector”), the code SHOULD be able to buil...
New

It seems the second code snippet is missing the code to set the current_user:
current_user: Accounts.get_user_by_session_token(session["...
New

When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
New

@mfazio23
I’m following the indications of the book and arriver ad chapter 10, but the app cannot be compiled due to an error in the Bas...
New
Other popular topics
New

poll
poll
Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New

We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New

Do the test and post your score :nerd_face:
:keyboard:
If possible, please add info such as the keyboard you’re using, the layout (Qw...
New

We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New

Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New

Was just curious to see if any were around, found this one:
I got 51/100:
Not sure if it was meant to buy I am sure at times the b...
New

The overengineered Solution to my Pigeon Problem.
TL;DR: I built a wifi-equipped water gun to shoot the pigeons on my balcony, controlle...
New

Large Language Models like ChatGPT say The Darnedest Things.
The Errors They MakeWhy We Need to Document Them, and What We Have Decided ...
New

If you’re getting errors like this:
psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /tailwind
- /kotlin
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /ash
- /vscode
- /opensuse
- /centos
- /php
- /deepseek
- /zig
- /html
- /scala
- /debian
- /nixos
- /lisp
- /agda
- /textmate
- /react-native
- /sublime-text
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /django
- /spring
- /manjaro
- /diversity
- /lua
- /nodejs
- /slackware
- /c
- /julia
- /neovim