Hacker News new | ask | show | jobs
by desiderantes 501 days ago
So you haven't heard of Kotlin Multiplatform.
3 comments

What are your experiences of using Kotlin for modern macOS/iOS development? How's the support looking when Apple releases new XCode?
Kotlin Multiplatform (KMP) is neat for android devs that want to be able to code for both platforms using a toolset/language they are familiar with, but for iOS development KMP is a hassle (personal opinion). I’d rather just write the code twice. Also, I actually like Xcode. As for Android Studio, up until the more recent versions the GUI felt really clunky to me (which made working in it a bit of a slog).
Have heard of it, haven’t investigated it deeply. Looks to still have some of the less-great points of the Java ecosystem on the build side of things (gradle) which is a detractor for me.

Kotlin’s syntax is also weird/quirky in some ways.

> Kotlin’s syntax is also weird/quirky in some ways.

I'm curious to learn what you mean by this! :)

No terenary if and the elvis operator, for one. Stuff like that trips me up frequently when jumping between Kotlin and Swift/other C-likes.
Ah, I see. Tbh, I actually like the lack of ternary and elvis, they are nicely handled by if expression (as the other comment notes)
Or Dart