#code
Read more stories on Hashnode
Articles with this tag
Oftentimes, val and def can get confusing in Scala. Especially when there are no parameters to a function. Let me explain with an example: object...