In general though, we find the code just kind of balloons if you use patterns like this everywhere.
In general though, we find the code just kind of balloons if you use patterns like this everywhere.
I know the old saying about premature optimization, but avoiding premature optimization doesn't mean actively choosing slower code. It just seems like sloppy programming, IMO.
It isn't.
For me, Scala provides a happy middle ground between a scripting language like Python, and an "enterprise" language like Java. Scala is as nearly performant as Java--and sometimes it performs significantly better than Java due to having parallel collections, and the like--while having nearly the expressiveness of a scripting language like Python.
Also, Scala's performance issues are overblown. I program in Scala professionally every day and it performs great.