Reading 8: When things go wrong…

by Mike Gleicher on October 25, 2015

in News,Readings

Reading for the week of 11/2. Technically, the reading is due Monday, November 2nd. We will discuss it in class. The first posting is due on 11/2. The other postings can happen later in the week.

Canvas discussion

For this week, please read Chapter 8 of Eloquent JavaScript: Bugs and Error Handling.

There are required postings on Canvas.

There are 3 required postings to be made:

  1. Describe some ways you can make bugs in JavaScript that are unique to JavaScript (or at least worse than other languages).
  2. For at least 1 on the ways that someone else posted, respond with a way of “programming defensively” to catch that kind of error before it becomes a problem.
  3. Describe a way to use exceptions to pass information within a program – and why this might be better than just using the standard function return mechanism.
Print Friendly, PDF & Email

Previous post:

Next post: