r/SpringBoot • • 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

25 Upvotes

19 comments sorted by

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

u/[deleted] Aug 19 '24

fuck kotlin, in the ass ?

8

u/[deleted] Aug 19 '24

Thank you for your contribution to the discussion!

2

u/[deleted] 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

u/[deleted] Aug 19 '24

[deleted]

37

u/[deleted] Aug 19 '24

[removed] — view removed comment

0

u/[deleted] Aug 19 '24

[deleted]

-3

u/reddit04029 Aug 19 '24

Haha sucks for u, I know how to write :)))

0

u/[deleted] Aug 19 '24

[deleted]

-4

u/reddit04029 Aug 19 '24

Okay 💁‍♂️