3 ms·
Can only speak for myself, but I’d love to be able to use Swift elsewhere so I don’t need to drag around a JVM and all the things that come with it (Kotlin) or
by cosmic_cheese 2y ago
Can only speak for myself, but I’d love to be able to use Swift elsewhere so I don’t need to drag around a JVM and all the things that come with it (Kotlin) or have to wrestle with Rust’s sematics and disinclination towards old style imperative desktop UI development. Swift isn't perfect of course, but it’s the closest I’ve come to a language feeling “comfy”.
- desiderantes 2y agoSo 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
- pjmlp 2y agoYou mean like the huge ecosystem of libraries for almost anything one can thing of, and IDE tooling, with 30 years of experience in production?
- rnikander 2y agoI was using Swift before. Currently learning Rust. Want to use it for cross-platform UI, and I'm stuggling with exactly what you describe there.