
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 following is cross-posted from the original Ray Tracer Challenge forum, from a post by garfieldnate. I’m cross-posting it so that the...
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

Hi! I know not the intentions behind this narrative when called, on page XI:
mount() |> handle_event() |> render()
but the correc...
New

The generated iex result below should list products instead of product for the metadata. (page 67)
iex> product = %Product{}
%Pento....
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

“The ProductLive.Index template calls a helper function, live_component/3, that in turn calls on the modal component. ”
Excerpt From: Br...
New

When I run the coverage example to report on missing lines, I get:
pytest --cov=cards --report=term-missing ch7
ERROR: usage: pytest [op...
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

From page 13:
On Python 3.7, you can install the libraries with pip by running these commands inside a Python venv using Visual Studio ...
New

I’ve got to the end of Ch. 11, and the app runs, with all tabs displaying what they should – at first. After switching around between St...
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

Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face:
Perhaps if there’s enough peop...
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

Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face:
https://on...
New

Just done a fresh install of macOS Big Sur and on installing Erlang I am getting:
asdf install erlang 23.1.2
Configure failed.
checking ...
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

API 4
Path:
/user/following/
Method:
GET
Description:
Returns the list of all names of people whom the user follows
Response
[
{ ...
New

Author Spotlight
Dmitry Zinoviev
@aqsaqal
Today we’re putting our spotlight on Dmitry Zinoviev, author of Data Science Essentials in ...
New

I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
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
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /java
- /haskell
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /zig
- /scala
- /sublime-text
- /debian
- /textmate
- /nixos
- /lisp
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /ubuntu
- /revery
- /django
- /manjaro
- /spring
- /diversity
- /nodejs
- /lua
- /julia
- /slackware
- /c
- /markdown