The Scala programming language combines object-oriented and functional programming in one concise, high-level language. It has a very expressive syntax, and is familiar to both Java and Python.
Most of our classwork will not be complete projects, but rather snippets of code that showcase the concepts that we are learning. A Scala worksheet is a great environment to work in!
You can define a Scala worksheet file by giving it the
Complete the attached worksheet. You should familiarize yourself with how Scala handles the following concepts.
⊕ def, val, var, types
⊕ while / for loops