Post AVZ3fIrJoZJsBEEdge by softinio@fosstodon.org
(DIR) More posts by softinio@fosstodon.org
(DIR) Post #AVXuWiBRCD35N3VwCO by alexelcu@social.alexn.org
2023-05-11T12:56:40Z
0 likes, 0 repeats
I'm building a personal CRUD web app in #Kotlin, and the experience is mostly good. I'm having a good time with coroutines; however, I miss the level of control I have in #Scala.What makes all the difference is that Scala is very expression oriented. Kotlin is more expression-oriented than Java, but there's a clear emphasis on using fewer values and more methods and functions passed as parameters. The evaluation model is clearer, but at the cost of control.
(DIR) Post #AVZ3fIrJoZJsBEEdge by softinio@fosstodon.org
2023-05-12T02:13:45Z
0 likes, 0 repeats
@alexelcu what libraries or frameworks are you using to build the CRUD ?
(DIR) Post #AVZJ9nMWT1qcmgpPw8 by alexelcu@social.alexn.org
2023-05-12T05:07:21Z
0 likes, 0 repeats
@softinio Ktor (server + client), Kotlinx Serialization, Jdbi3, HikariCP, Flyway, Arrow, Kotlinx CLI. I wanted to bring in Hibernate Validator, but found that a combination of Serialization + Arrow does the job for validating requests.In Kotlin/JS, I have a client + shared models already defined, and I'll be using React via "kotlin-wrappers".https://ktor.io/https://github.com/Kotlin/kotlinx.serializationhttps://jdbi.org/https://arrow-kt.io/https://github.com/Kotlin/kotlinx-clihttps://github.com/JetBrains/kotlin-wrappers
(DIR) Post #AVZSmqnMXLAeJR52WG by softinio@fosstodon.org
2023-05-12T06:55:15Z
0 likes, 0 repeats
@alexelcu thank you 🙏