News for hackers. Stuff that matters.
Re:Drastic DS Emulator Pulled from Google Play Store by Larrikin on Sunday February 20, 2022 @05:33PM (#30409902)
Dare I say Google embracing and pushing Kotlin on the Android ecosystem was the last good thing I can remember Google doing. The language is such a joy to to work in without the pitfalls that come with Scala
Re:Drastic DS Emulator Pulled from Google Play Store by tadfisher on Sunday February 20, 2022 @06:24PM (#30410247)
I don't know, Compose is fantastic as well. The way the runtime, foundation, and UI libraries are layered make it a breeze to extend, and the layout system is the only sane one I've used. Overall Compose is a paradigm shift that is too-often compared to React, Flutter or SwiftUI by those who haven't written code using it.
Re:Drastic DS Emulator Pulled from Google Play Store by Larrikin on Sunday February 20, 2022 @07:19PM (#30410569)
Our dev team is looking to switch as soon as we have time to learn it. I assumed it was going to be like React from the one tutorial I've done of it so far, which already excited us.

Is this the best resource for learning it well enough to come out with your opinion that its even better? https://developer.android.com/courses/pathways/compose

I'm also a little worried about missing components currently available in XML, although I know you can mix and match, but not sure how that actually is in practice.

Re:Drastic DS Emulator Pulled from Google Play Store by ianlevesque on Sunday February 20, 2022 @07:32PM (#30410655)
The one time I had to mix so far, to display a CameraX preview view, it worked fine.
Re:Drastic DS Emulator Pulled from Google Play Store by acjohnson55 on Sunday February 20, 2022 @07:37PM (#30410672)
They each have their place. Kotlin is super Java. Scala is it's own thing, in a similar sense as Clojure or Groovy.
Re:Drastic DS Emulator Pulled from Google Play Store by NaturalPhallacy on Sunday February 20, 2022 @09:52PM (#30411441)
As someone with a lot of java experience and a small taste of scala, what are the pitfalls that Kotlin avoids?
Re:Drastic DS Emulator Pulled from Google Play Store by argestes on Monday February 21, 2022 @03:39AM (#30413307)
implicits
Re:Drastic DS Emulator Pulled from Google Play Store by pmarreck on Sunday February 20, 2022 @06:53PM (#30410429)
That is because only masochists use Scala