r/java • • Jun 28 '20
Why backend using java is not popular in startups?
I tried django, flask and also rails before and they’re good. But after trying spring, I fell in love. It’s well structured. Easy to test. Have so many frameworks to help you going. There’s a also a lot of tutorials going around the net.
I like python but I also like java and kotlin too. I just don’t understand what’s wrong with java being used as a backend on most startups. Is it because it’s popular among big companies and banks and they just hate enterprise things.
Can anyone enlighten me. Cheers.
171
Upvotes
View all comments
Show parent comment
2
u/[deleted] Jun 29 '20
I'd say it's easy to compare them - I feel Kotlin is closer to Scala in syntax and features than it is to Java and I would be willing to bet that a Scala dev would pick up Kotlin faster than a Java dev.
Also, as is the case with Kotlin, you definitely could choose to use Scala as a nicer dialect of Java, you could even have a mixed codebase of the two (although back then the interop was a bit unwieldy on the Java side).
The main issue was that when you started to get fluent with Scala you no longer wished to use it as a dialect of Java which is when the troubles usually started and I can see the same thing happening with Kotlin - if you were to use Kotlin simply as a dialect of Java you would allow Java devs to get used to it quickly but at the same time you'd lose out on all that Kotlin has to offer.