Has anyone built an ‘opinionated’ library for Scala/Akka/Play etc. that is similar to Spring Boot?
I have been on a number of projects that use Spring, Spring Boot, Spring Batch, etc. Some of it I like, such as rapid project startup and convention over configuration, but some of it I hate, such as trying to reverse engineer the code when jumping into a new project.
Martin Oderski says Scala 3 will become more opinionated, more emphasis on the best way to do things in order to reduce the heterogeneity of coding styles. I look forward to this. However, looking around various repositories of Scala, Akka, etc. I find many different ways to do things, some good ideas I have adopted myself, but are not part of the core Scala, Akka documentation and examples I find.
I have my own Scala and Akka ‘extras’ libraries to make up for the lack of what I find in Scala, Akka, and elsewhere, but much of what I do seems to be expressed better in Spring, or at least the Spring concept of opinionated conventions…
For example, I always struggle with logging in Scala/Akka and more recently had even more trouble getting logging working in Dotty. Why on earth should it be harder to get logging working in Dotty? In Spring such basics ‘just work.’
Playing with Dotty more lately, I wonder if the new language features could make it easier to build something like Spring for Scala/Akka et alia with better, more opinionated conventions?