To make sure you don't start writing Java code in Scala, we make one thing very explicitly forbidden:
var
and mutable collections from the scala.collection.mutable
package.This will consistently test your resolve on all of the aforementioned advice. Not playing along with this one rule will hurt your grade significantly.
Scaladoc
, the online documentation for classes that are a part of the standard library. The easiest way to get to this point is to search the web for something like "Scala ClassName
docs" and look for the result that starts with something like Scala Standard Library 2.12.0 - ClassName
.
The documentation can be daunting at first, but reading it regularly (all while asking lots of questions about it) makes it easier and more useful.
We will be giving out notes that go into more detail than the handouts, and may expound on different things. These can be helpful for providing a wider context to the material, and more background information. While these are ordered based on the content of the class, some of them are covered in great detail (being the topic of multiple discussions), and others are only lightly touched upon.
This list will keep growing as we go.