hello everyone, i’m a newbie to use kotlin to develop web/backend applications and i didn’t know how to start also, should I be familiar with spring to write web/backend applications using kotin?
d
Draget
06/14/2020, 2:44 PM
Spring is one of many possible frameworks. Spring is pretty powerful, but also has a bit of a learning curve. Many resources online are for Java, since Kotlin is a bit newer.
If you want to learn Kotlin, I'd go with the Koans from JetBrains and other Resources to first get familiar with Kotlin before jumping into Spring.
Unless you are really good at Java and familiar with annotations, depenency injections and other common patterns, then diving into kotlin+spring might work just fine. 🙂
s
sh3lan
06/14/2020, 2:55 PM
the bolded really make me think again about am i good enough or not 😄 but I have around 4 years with java and 2 with kotlin what do you think 🤔 BTW i am android guy with 5 years experience but i want to learn something new so what could you recommend? @Draget
d
Draget
06/14/2020, 2:57 PM
Oh sorry, thought you said you were completely new to Kotlin and maybe also not that much Java experience, got you wrong there.
Nah, I think it is a good chance to jump in. The Spring documentation has basic examples in Java and Kotlin. There are also some good Video courses.
s
sh3lan
06/14/2020, 2:59 PM
nvm, I was meaning newbie to kotlin for backend/web applications 😄 may be i have choose the wrong descriptive word
sh3lan
06/14/2020, 3:00 PM
and what about ktor as I found numerous articled and tutorials for it
d
Draget
06/14/2020, 8:39 PM
I have not used it, but I'll better give a poor answer than no answer 😛
Ktor is developed in Kotloin. AFAIK it supports Kotline/Native and blends a lot better into the Kotlin ecosystem than Java frameworks. On the other hand Spring is very mature, battletested and there are a lot of resources.
But if my team would not know Spring or Ktor at all, the project was not super critical and we are starting on a green field, I'd cerainly try Ktor.
Personally I know a lot of Spring, love all the features and we already have several Spring services, there is not so much room for such experiements.