This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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" |