News for hackers. Stuff that matters.
Re:I regret using Ionic for app development by lchengify on Sunday April 09, 2023 @05:06PM (#35506467)
It's true that Kotlin wasn't a breakout success 5 years ago. However, I would argue Kotlin's design decisions made it destined for its current success, whereas Dart has not.

The most obvious of this was same-build compatibility with Java. Mixing Kotlin and Java made it super easy to switch, and made using it a no-brainer vs other solutions. Android Studio also has a button that auto-converts Java to Kotlin, so in many cases a wholesale rewrite isn't even necessary.

At this point, Kotlin has also become a goto for backend Java for stream processing and other open-source JVM projects. It's rapidly replacing things like Scala for Flink, as an example.

Maybe Dart survives by the sheer force of will of Flutter, but I don't think there's a chance it catches Kotlin.

Re:I regret using Ionic for app development by ShadowBanThis01 on Monday April 10, 2023 @03:44AM (#35510043)
Kotlin also seems very similar to Swift, which is handy. The last time I saw the topic debated on this site, the consensus was that native is still the best way to go when developing mobile apps, even when you have to support both iOS and Android.
Re:I regret using Ionic for app development by karmakaze on Tuesday April 11, 2023 @11:18AM (#35526378)
By native on Android you mean the 'widgets' APIs meaning Kotlin is fine (not the NDK with C/C++) I assume.