Skip to content

Instantly share code, notes, and snippets.

View halfninja's full-sized avatar
🐀
Plagued by concepts

Nick Howes halfninja

🐀
Plagued by concepts
View GitHub Profile
/*
* A selection of illustrative lines that describe a bit about how Scala does things
* and various parts of the language and/or library that you might find useful often.
*/
// val is similar to a final variable in Java - it can't be reassigned
val filename = "log.txt"
// var can be changed
var filename = "log.txt"