r/SpringBoot • u/Smooth_Comparison_87 • Aug 19 '24
Kotlin will be the first language of Spring?
@springcentral @springframework @kotlin I have a question. Why are there no examples of Kotlin in the Spring website? What is the attitude of the Spring team towards Kotlin for backend dev? Is it possible to use Kotlin as the primary development language? #spring #kotlin #java

3
u/MGelit Aug 19 '24
in webflux you can use suspend functions in controllers, so there is certainly some integration. otherwise its the same language anyway. so its definitely possible to use it as the primary language
2
u/Kango_V Aug 20 '24
We stuck with Java, but changed to Micronaut. Having everything generated at compile time and seeing problems in the IDE before runnin is a game changer. Spring Boot should move to annotation processors.
-12
Aug 19 '24
fuck kotlin, in the ass ?
8
6
2
Aug 19 '24
Why the hate 😁? Got to learn is that why?
2
u/Fine-Designer-5830 Aug 19 '24
If you know Java, you already know kotlin. Just a few syntax changes
0
37
Aug 19 '24
[removed] — view removed comment
0
7
u/smokemonstr Aug 19 '24
https://docs.spring.io/spring-framework/reference/languages/kotlin.html