small medium large xlarge

The latest version of the book is P1.0, released over 5 years ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (28-Nov-14)
#77854
PDF page: 3
Using the downloaded code from this site, I had to make a couple of changes to the app.dart server in your_first_dart_app to get it to run: 1- Add ...more...
  • Reported in: B1.0 (29-Aug-14)
#77268
PDF page: 3

The link to dart-comics. would help better if it was a link to a example focused on Part 1 and what describes rather than finished example --Steve GW

  • Reported in: B1.0 (29-Aug-14)
#77264
Paper page: 6

navigator.webkitStartDart() is no longer a thing. Yay!--Chris Strom

  • Reported in: B1.0 (29-Aug-14)
#77266
PDF page: 7
Maybe if the reader is following along and paste code and trying it might help to add the statement import 'dart:convert'; above the void mai...more...
  • Reported in: B1.0 (29-Aug-14)
#77267
PDF page: 7

var list_el = document.query('#comics-list');

should be

var list_el = document.querySelector('#comics-list');--Steve GW

  • Reported in: B1.0 (29-Aug-14)
#77265
PDF page: 8

req.open('get', '/comics');

should be

req.open('get', '/comics.json');--Steve GW

  • Reported in: B1.0 (30-Aug-14)
#77269
PDF page: 29

Its say "there is no reflection" is that really true?--Steve GW

  • Reported in: B1.0 (30-Aug-14)
#77270
PDF page: 31
document.query('h1'); // => First <h1> in the document document.query('#people-list'); // => Element with id of 'people-list' document.query('.act...more...
  • Reported in: B1.0 (30-Aug-14)
#77271
PDF page: 32

All references to Query() should be QuerySelector()
and
QueryAll() should be QuerySelectorAll()

--Steve GW

  • Reported in: B1.0 (30-Aug-14)
#77272
PDF page: 33
I'm using the Dart Editor and following works better Element gallery = new Element.html('<div id="gallery">'); Element myElement = document.queryS...more...
  • Reported in: B1.0 (30-Aug-14)
#77273
PDF page: 49
Chapter 6 is very intensive and a lot to follow. It would be helpful if not imperative to provide complete solution for the chapter in a link of at th...more...
Chris Strom says: The code is available for download. For individual files, click the links above the code samples in the PDF. The entire source code for the book available from “Source Code” link from the Book page (https://pragprog.com/book/csdart1/dart-1-for-everyone). I will re-read with an eye towards someone following along. I skipped some parts intentionally to keep the narrative moving, but I agree that could come at the expense of completeness. Hopefully I can work out a better balance. If there are particular places that this breaks down, let me know -- that would be helpful. Regardless, I think I see a few spots that could already be improved. Thanks!