News for hackers. Stuff that matters.
Re:Apple is rewriting Foundation in Swift by philwelch on Sunday May 21, 2023 @11:56PM (#36027279)
I thought Kotlin was pretty widely used as a Java alternative on the backend
Re:Apple is rewriting Foundation in Swift by rahmeero on Monday May 22, 2023 @12:03AM (#36027330)
An example is smart contracts on the Corda blockchain, which is programmed in Kotlin. It may be me, but I have seen more Kotlin outside of Android than on it.
Re:Apple is rewriting Foundation in Swift by fnord77 on Monday May 22, 2023 @12:02AM (#36027323)
Kotlin seems kinds of pointless with the features in newer Java versions
Re:Apple is rewriting Foundation in Swift by doyouevensunbro on Monday May 22, 2023 @12:35AM (#36027508)
Just looking at Java’s upcoming string interpolation makes me so happy I moved to Kotlin years ago.

https://openjdk.org/jeps/430

Re:Apple is rewriting Foundation in Swift by d3nj4l on Monday May 22, 2023 @12:30AM (#36027477)
No amount of lipstick on the java pig will make it as ergonomic to use by default as kotlin.
Re:Apple is rewriting Foundation in Swift by scns on Monday May 22, 2023 @03:34AM (#36028454)
Harsh but have to agree.
Re:Apple is rewriting Foundation in Swift by pjmlp on Monday May 22, 2023 @06:09AM (#36029405)
It is enough that it is the Java Virtual Machine, not Kotlin Virtual Machine.

Hence why Kotlin only really matters on Android.

Re:Apple is rewriting Foundation in Swift by fbdab103 on Monday May 22, 2023 @01:08AM (#36027677)
Would Java had advanced without Kotlin on its doorstep?
Re:Apple is rewriting Foundation in Swift by pjmlp on Monday May 22, 2023 @06:10AM (#36029413)
Yes, because Kotlin hardly matters in regards to the JVM.
Re:Apple is rewriting Foundation in Swift by fnord77 on Monday May 22, 2023 @05:30PM (#36036974)
Lots of languages are converging on features and idioms. Scala and Haskell have had an influence on New Java too.