Errata

Think Julia

Errata for Think Julia

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 第12章 元组 序列的序列 (第201页)
6th paragraph

Julia语言编程入门/Ben Lauwens, Allen B.Downey著,肖斌等译,中国电力出版社,2020.5
page 201
typo:
些情况下(如renturan语句),……
建议改为:
一(某)些情况下(如renturan语句),……

张广超  Jun 15, 2023 
Printed Page 56
section Keyboard Input, 4th paragraph, startings with "A semicolon (;)..."

The paragraph consists of four sentences. The last two replicate the first two and thus should be eliminated.

Anonymous  Sep 28, 2021 
Mobi Page 89
4th paragraph after Keyboard Input header

Fourth paragraph after Keyboard Input header has four sentences in which last two sentences are repeats of the first two sentences, as shown here:

A semicolon (;) allows you to put multiple statements on the same line. In the REPL, only the last statement returns its value. semicolon (;) allows you to put multiple statements on the same line. In the REPL, only the last statement returns its value.

I suggest deleting the last two sentences.


James Welch  Oct 13, 2020 
Printed Page 136
3rd paragraph

Where it says "If you run it you get ... count not defined"
The variable is called "counter" in the example and the program reports:
UndefVarError: counter not defined
and not what the book says:
UndefVarError: count not defined

Continuing, the very next code block is also wrong. The book has:
count = 0

function example3()
global counter
counter += 1
end

and that first line needs to be
counter = 0

PS: Thank you for this book.

Roger Frank  Jan 24, 2020 
ePub Page 999
last paragraph

Hey there!

In your introduction under "Why Julia?" in your sentence "It is the responsibility of the programmer to optimize the code that forms a bottleneck, but this can done in Julia itself."

I think, it should rather be "...but this can BE done in Julia itself".

Kind regards,
Matt

Matthias Ize  Jan 02, 2020