Live data from Hacker News

The Kotlin Foundation

kotlinlang.org

21–30 of 236 posts

Re: The Kotlin Foundation

#21
post #5

Next entity for the killed-by-google-graveyard? Joke aside, seems that kotlin is a niche player and will remain a better Java until something like Rust eventually takes over the enterprise market.

Rust will never take over the enterprise market from Java or Kotlin. It is a language for completely different use cases. I it more of a competitor to C++.

Re: The Kotlin Foundation

#22
A question for HN - I like Java a lot for the ‘http API talking to SQL database’ usecase, with my goto for that being dropwizard or spring boot.

I’ve only ever looked at Kotlin code in blogposts, haven’t ever actually used it. I’m probably at least a few years behind on its feature set, but I am aware of all the great features Java has added in that timeframe, many no doubt inspired by Kotlin!

Would you advise me to use Kotlin over Java building a new API from scratch in 2021, given where both languages and ecosystems are today? Why or why not?

Re: The Kotlin Foundation

#23
post #6

Earlier quoted context omitted.

I understand that side (and I'm personally against Google's behavior, hegemony and influence on almost everything). But Google is one of the few companies that gives back to projects they use. You can't say that of many other companies that use tools and make sure they never contribute back (either financially or as code). As long as they don't put their adcrap in any of those languages or the things around them...

> But Google is one of the few companies that gives back to projects they use. Apple gives back to open source projects. Isn't Swift open source as well as LLVM and Webkit? Makes sense because they made them and a long time user of them.

I'm not sure why the victim complex about Apple in your comment, he said too few companies do it and that remains true whether or not Apple is in that group. In fact that conversation has nothing to do with Apple.

Re: The Kotlin Foundation

#24
Any thoughts on if we are seeing the beginnings of a JetBrains acquisition from Google? There seem to be significant overlap between the JetBrains investments (people capital, intellectual property: IDE, language) and Google significantly using all of these things.

edit: lol @ the down votes

Re: The Kotlin Foundation

#25
post #10
post #5

Next entity for the killed-by-google-graveyard? Joke aside, seems that kotlin is a niche player and will remain a better Java until something like Rust eventually takes over the enterprise market.

Kotlin is slowly getting in the industry as well. But really comparing Rust and Java (meaning the JVM, its languages and all the libs and tools) is not fair. They have different targets and respond to different needs. Of course, like everything, there are problems where their capabilities overlap and they would both work really well. But I have trouble believing this "new language that will rule them all" idea. We di…

Kotlin is meaningless outside Android development.

Kotlin/Native is never going to be a match for other native languages, as its reboot by choosing an incompatible memory model with JVM languages has proven.

While on the JVM, just like trying to replace C on UNIX, JavaScript on the browser, it is just another guest language dancing to Java tunes.

Just another one to share seats between Beanshell, jTCL, Jython, JRuby, Scala, Clojure, Groovy, Ceylon, XTend, without big daddys' help to force adoption down developer throats like they are doing on Android.

Re: The Kotlin Foundation

#26

A question for HN - I like Java a lot for the ‘http API talking to SQL database’ usecase, with my goto for that being dropwizard or spring boot. I’ve only ever looked at Kotlin code in blogposts, haven’t ever actually used it. I’m probably at least a few years behind on its feature set, but I am aware of all the great features Java has added in that timeframe, many no doubt inspired by Kotlin! Would you advise me to…

For your use case just use PostgREST.

Re: The Kotlin Foundation

#27
post #19

Earlier quoted context omitted.

> well Google's using all three in different ways... So that justifies giving them a seat at the board of directors and not just a sponsorship? Apple and Facebook both use Rust but I don't see anything about them being on the board (at least Facebook for now), the least I expect is sponsorship.

Google contributes a lot to Kotlin though. So they are not just sponsors.

Interesting perspective, so just like Rust then? Seems like Google can just buy board seats then.

Re: The Kotlin Foundation

#28
post #5

Next entity for the killed-by-google-graveyard? Joke aside, seems that kotlin is a niche player and will remain a better Java until something like Rust eventually takes over the enterprise market.

Kotlin on the server is growing in popularity and ecosystem, just a week ago Netflix open sourced a new Graphql client. Also Pivotal (the company behind Spring boot) is investing a lot in Kotlin. To have tried many language on the server, Kotlin is a gift and has made me as a developer both more productive and happier! It truly is a state of the art language in ergonomics that everybody should give a try

Almost 10 years ago Pivotal was doing exactly the same with Groovy, Scala and Clojure, where are Spring Groovy/Scala/Clojure 10 years later?

Re: The Kotlin Foundation

#29

A question for HN - I like Java a lot for the ‘http API talking to SQL database’ usecase, with my goto for that being dropwizard or spring boot. I’ve only ever looked at Kotlin code in blogposts, haven’t ever actually used it. I’m probably at least a few years behind on its feature set, but I am aware of all the great features Java has added in that timeframe, many no doubt inspired by Kotlin! Would you advise me to…

My team uses Kotlin + Dropwizard + Postgres a lot. I would absolutely recommend trying Kotlin out on your next API. You will find the code very easy to learn coming from Java, and it is honestly a joy to work with compared to Java. You will find your code much more concise yet more readable. Also, IntelliJ gives you all kinds of hints for how you can make use of Kotlin language features.

You can also easily handle nulls in Kotlin, since values have to be explicitly nullable in order to be able to have one. This is great for your application model layers. The val/var paradigm is nice so you can stop having to remember to write 'final'.

If you ever get stuck and don't know how to write something in Kotlin, you can just write it in Java and either use it, or just paste the code in IntelliJ and it will convert it to Kotlin.

Lastly, Kotest + Mockk is awesome--super readable testing.

Re: The Kotlin Foundation

#30
post #24

Any thoughts on if we are seeing the beginnings of a JetBrains acquisition from Google? There seem to be significant overlap between the JetBrains investments (people capital, intellectual property: IDE, language) and Google significantly using all of these things. edit: lol @ the down votes

Jetbrains has a order of magnitude better internal culture that Google so I hope that never happen. JetBrains is one of the few NO bullshit company that continually refine it's products for improving the user experience.
Post reply on HN