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.
The Kotlin Foundation
21–30 of 236 posts
Re: The Kotlin Foundation
#22I’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
#23Earlier 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.
Re: The Kotlin Foundation
#24edit: lol @ the down votes
Re: The Kotlin Foundation
#25Next 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/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
#26A 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…
Re: The Kotlin Foundation
#27Earlier 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.
Re: The Kotlin Foundation
#28Next 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
Re: The Kotlin Foundation
#29A 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…
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
#30Any 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