We learn wisdom from failure much more than from success. We often discover
what will do, by finding out what will not do; and probably he who never made a
mistake never made a discovery.
— Samuel Smiles
We’re talking about errors today. I’m sure you all have – like me – got your fair share of errors when you were programming. I’ll talk a bit about how to go about investigating what went wrong when you get an error.
In doing this, we’re discussing the important distinction of synax errors and semantic errors, and we’re learning to deal with both. This includes reading stack traces.
Concepts discussed: syntax errors, runtime errors, stack trace, exception