I think Kotlin is great for backend servers. We ha...
# announcements
v
I think Kotlin is great for backend servers. We have been debating in our company to fully switch over to Kotlin; the only reason we are having trouble convincing orthodox Java folks is because they argue they have not seen Kotlin on backend and it's only designed for front-end codebase. It would be nice if Kotlin's website can showcase Backend server usecases. Because everything points to Androind usage right now
t
kotlin is designed to be fully commpatible with java. so there is no point in arguing it's made for frontend usage
and ktor is a great framework to build backend applications
m
I guess you saw https://kotlinlang.org/docs/reference/server-overview.html ? It contains pointers how to deploy on AWS/Heroku/GCP and a couple of examples including the jetbrains backend itself
f
it's only designed for front-end codebase
That is wrong and I would love to see their prove for that argument.
s
the spring guys literally love it

https://www.youtube.com/watch?v=8yHc0beE164

https://www.youtube.com/watch?v=pSiZVAeReeg

It’s not at all a frontend language. It’s a better Java (and then some) independently if the bytecode is execute in an Android device or on a server JVM (or on mulitplatform). We use it only on the serverside (we have no Android frontend).
m
Micronaut.io has Java and Kotlin support (Groovy too). Quarkus.io has Java and Kotlin. And both of those are server frameworks. Lots of evidence Kotlin is an all-purpose language.
You'll still have a hard time convincing people if their only argument is 'I have not seen it used that way yet', as they're using the 'cheapest' excuse to slow you down, and cause you effort. Good Luck! We'll do what we can to help you out on this journey.