4 ms·
So you haven't heard of Kotlin Multiplatform.
by desiderantes 2y ago
So you haven't heard of Kotlin Multiplatform.
- privacyis1mp 2y agoWhat are your experiences of using Kotlin for modern macOS/iOS development? How's the support looking when Apple releases new XCode?
- aalimov_ 2y agoKotlin 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).
- cosmic_cheese 2y agoHave 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.
- bartekpacia 2y ago> Kotlin’s syntax is also weird/quirky in some ways. I'm curious to learn what you mean by this! :)
- cosmic_cheese 2y agoNo terenary if and the elvis operator, for one. Stuff like that trips me up frequently when jumping between Kotlin and Swift/other C-likes.
- koakuma-chan 2y agoIf expression: https://kotlinlang.org/docs/control-flow.html#if-expression https://kotlinlang.org/docs/control-flow.html#if-expression Elvis operator: https://kotlinlang.org/docs/null-safety.html#elvis-operator https://kotlinlang.org/docs/null-safety.html#elvis-operator
- bartekpacia 2y agoAh, I see. Tbh, I actually like the lack of ternary and elvis, they are nicely handled by if expression (as the other comment notes)
- mdhb 2y agoOr Dart