by hszeeks · 7y ago · 0 comments
<edit>
what makes me think it is a simple language (especially if you are writing microservices):
- class is a class, and you don't really need to explain the modifier
- object is just an object, like if a class is instantiated, and it is a singleton
- trait gives you mixin, cake pattern / self type
- Future makes async programming simple
- for yield -> to avoid nested map / flatMap
- val for everything, instead of final static
- case class, such a life saver to build immutable data objects
Some libraries like Slick adds up complexity but the benefit i think far outweigh the difficulty of learning it.