DEV Community

Discussion on: Kotlin is Not (Only) Android

Collapse
 
_hs_ profile image
HS

Another post bashing one language to rise another. As a rule of thumb Kotlin developers want it to be better than Java for same things. Some people dissagree. A lot od them actually, and ignore the language battle. Groovy is the one that made a huge jump in short period this year. Kotlin actually fell. Are some stats biased? All are but it still doesn't make Kotlin better than Java. Both languages are limited actually. Neither is better. If you need to be better than someone to have a purpose you are not that useful. Why would I switch to Kotlin? I have C#, Scala, Groovy, Elixir... Do I need more languages? Pick one good for the task and make a product. Being better for sole purpose of being better has no influence on people. That's why Kotlin is associated with Android. We don't care what it says we care about how pragmatic it actuallys is. Same with the patterns and everything else in the industry. If it's good to do TDD because someone said so go do it. Some need to deliver product in less time and more user oriented not philosophy oriented.

Collapse
 
jmfayard profile image
Jean-Michel 🕵🏻‍♂️ Fayard • Edited

Another post bashing one language to rise another.

🤔🤔?

The article is about the misconception that Kotlin is limited to Android.
It's not.
Kotlin is a great fit for me for doing backend programming on the JVM.

I'm not sure where you have read that I was bashing other programming languages.

I'm no fan of bashing other technologies that others find useful in their particular context.

Collapse
 
_hs_ profile image
HS • Edited

Exactly the point. I came to read problems about Android being interchangeably used with Kotlin which is easy to understand because of JavaScript = Java problem from before :). But things like "I propose this rule of thumbs:

if Java is a good solution to a given problem,
then Kotlin is a great solution to the same problem"

are what this article has related to bashing. I did not want to rant about how someone is bashing something but more to open eyes of the writer. Things like the ones mentioned are actually this technology > other technology. That's what bugs me and I need to question it. I tried C# and Kotlin. C# was much better but I disliked the .NET Core in comparison to Micronaut & Spring. Kotlin was a pain and I had no actual benefits of it for my use cases. So I came here to see maybe something more than Kotlin > Java. And still not more than that I found. I guess you see the point now of why I feel this article had some bashing in it. I know it's not your intention but do try to understand of why someone might feel that way.

Thread Thread
 
jmfayard profile image
Jean-Michel 🕵🏻‍♂️ Fayard • Edited

I understand now why you reacted this way, you took my "rules of thumb" as an hint that I wanted to bash Java.

But really my intention was something else than bashing anything.

I do think that Kotlin is great for me (but happy that you have found something better for your needs). But the reason Kotlin is great is that it is standing on the shoulders of Giants

Back to my article: I am a Kotlin backend developer and I receive almost every day a job offer to do Android... which I really do NOT want to do.

So I wanted to explain once for all that there is more to Kotlin than just Android.

The rule of thumb is to give recruiters a better idea of where Kotlin makes sense : mostly in the same areas where Java makes sense.