Scala Investigation: First-Class Functions
I’ve just spent some time learning about the difference between scala’s functions and methods. It’s a surprisingly complicated topic, so I’ll defer to the smart folks on stack overflow for the explanation itself:
Difference between method and function in Scala
Here are some interesting points / examples I took from that topic: