Scala Pitfall: Parameterless Function Calls and Misplaced vals

from blog Ben Congdon, | ↗ original
I’ve been using Scala for the better part of a year, and it’s mostly been an enjoyable experience. Scala fits in a comfortable position in the programming latent space somewhere in between Java, Python, JavaScript, and Rust. However, Scala is definitely a a “big” language – it has lots of language features, supports many programming paradigms,...