Another Tour of Scala


The Gist

The tour doesn’t deal with exception handling directly.

My Take

In Scala, there are no checked exceptions, but you can still handle them if you like. This is done via the case statement and pattern matching:

My Thoughts on This Feature

Aside from the fact that you don’t even have to handle exceptions explicitly, this syntax for doing so is much simpler and easier to deal with, IMO