3 ms·
Could just write `def add(a: Int, b: Int) = a + b`. Not sure what the var/return business is about; have you even used Scala?
by virtualwhys 11y ago
Could just write `def add(a: Int, b: Int) = a + b`.
Not sure what the var/return business is about; have you even used Scala?