3 ms·
Java is not Scala though. By default everything has always been mutable e.g. collections, variables. And so whilst I support val I can appreciate the difficult
by threeseed 9y ago
Java is not Scala though.
By default everything has always been mutable e.g. collections, variables. And so whilst I support val I can appreciate the difficulty in switching everyone to an immutable by default mindset. Especially given the lack of decent functional transforms e.g. map, flatMap, filter in Java.