
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

This test is broken right out of the box…
— FAIL: TestAgent (7.82s)
agent_test.go:77:
Error Trace: agent_test.go:77
agent_test.go:...
New

Hi,
build fails on:
bracket-lib = “~0.8.1”
when running on Mac Mini M1 Rust version 1.5.0:
Compiling winit v0.22.2
error[E0308]: mi...
New

First, the code resources:
Page 237: rumbl_umbrella/apps/rumbl/mix.exs
Note: That this file is missing.
Page 238: rumbl_umbrella/app...
New

In case this helps anyone, I’ve had issues setting up the rails source code. Here were the solutions:
In Gemfile, change
gem 'rails'
t...
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

In general, the book isn’t yet updated for Phoenix version 1.6. On page 18 of the book, the authors indicate that an auto generated of ro...
New

When installing Cards as an editable package, I get the following error:
ERROR: File “setup.py” not found. Directory cannot be installe...
New

I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113.
Iteration A1 - Seeing the list of prod...
New

Hi,
I am getting an error I cannot figure out on my test.
I have what I think is the exact code from the book, other than I changed “us...
New

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

A thread that every forum needs!
Simply post a link to a track on YouTube (or SoundCloud or Vimeo amongst others!) on a separate line an...
New

What chair do you have while working… and why?
Is there a ‘best’ type of chair or working position for developers?
New

I’ve been really enjoying obsidian.md:
It is very snappy (even though it is based on Electron). I love that it is all local by defaul...
New

I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New

I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me.
I think the Planck and the Preonic (o...
New

Think Again 50% Off Sale »
The theme of this sale is new perspectives on familiar topics.
Enter coupon code ThinkAgain2021 at checkout t...
New

API 4
Path:
/user/following/
Method:
GET
Description:
Returns the list of all names of people whom the user follows
Response
[
{ ...
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:
Peter Ullrich
@PJUllrich
Data is at the core of every business, but it is useless if nobody can access and analyze ...
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
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /ocaml
- /react
- /elm
- /flutter
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /scala
- /zig
- /textmate
- /sublime-text
- /debian
- /nixos
- /lisp
- /react-native
- /agda
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /spring
- /manjaro
- /django
- /nodejs
- /diversity
- /lua
- /julia
- /slackware
- /c
- /markdown