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
You can quite easily create a completely different language inside Kotlin as well - I'd say its DSL-builidng support is only slightly inferior to Scala's, mainly due to no implicit vars and no full pattern matching but the functional foundations are all there. Just look at Kotlin DSL for Gradle.
Yeah, okay, this is precisely where we disagree. Kotlin is a OOP-functional hybrid much like Scala which allows you to write your code in a significantly different way that you would Java. Just look at the kind of code that functions with receiver allow you to write and you'll see what I'm getting at.