Scala - The Absolute Basics - Post Series

Scala - The Absolute Basics - Post Series

This is a series of posts covering the Absolute Basics in Scala. If you are just starting out with using Scala for the first time, this should be a great place to start. Scala can be a difficult language to learn. Particularly if you are used to a purely object oriented language like Java.

Because of the depth and complexity of the language, textbooks and documentation can be huge and overwhelming. This is especially true for beginners to programming. This and the subsequent other series of posts about Scala on this site attempt to condense the key functionality of the language into easily digestible portions.

Rock the JVM

I was inspired to write these posts after taking the outstanding Rock the JVM Scala courses by Daniel Ciocirlan. The material in these posts is heavily based on the Scala for Beginners course on Udemy, and I would highly recommend enrolling on this course. Thank you to Daniel for the work you do in producing such fantastic Scala content.

Initial Setup

If this is your first time doing any coding in Scala, I recommend you first download the Intellij IDE. The community edition is fine, and comes with Scala included.

Whenever you are writing new Scala code from these blog posts, first create a new Object by right-clicking in the Project Panel and choosing New > Scala Class . Give the file a name, and select Object.

In the new file, extend the object from App like so:

object YourNewObject extends App {


And you are ready to go!

Posts in the Series

You can view all the posts in the Scala - Absolute Basics Series here.

Otherwise, go straight on to the first post in the series - Values, Variables and Types in Scala