There's a bigger issue here: OP describes writing prototype software on a desktop, and compares this to writing more production-style software on a highly constrained mobile device. This isn't an apples-to-apples comparison. Python packaging is notoriously bad, and while you can get a Linux/Windows compatible script without too much work, getting to a single executable that just runs is much harder. Cloning a repo, s…
Ask HN: Am I crazy or is Android development awful?
61–70 of 157 posts
Re: Ask HN: Am I crazy or is Android development awful?
#62Re: Ask HN: Am I crazy or is Android development awful?
#63Android is an example of technical debt from poor caked-in design. Its problems are still stemming from being rushed to market (relatively speaking) two decades ago. It's had enormous success as the most viable iOS alternative, but at a cost. On the flip side, consider PalmOS. It was SotA at its debut in 1996. In the early aughts, Palm made Treo smartphones when almost no one knew what a smartphone was. It had a mult…
Re: Ask HN: Am I crazy or is Android development awful?
#64I remember asking some Android devs, "How do I install a compiler on Android?" They proceeded to tell me what to download on my laptop. I repeated my question, emphasizing "ON Android". They gave me blank looks. I said, "I want to install a toolchain ON an Android device, and run it there. How do I do that?" They had no idea. I asked, "What if you want to compile something that requires compiling something, then usin…
Re: Ask HN: Am I crazy or is Android development awful?
#65Android is an example of technical debt from poor caked-in design. Its problems are still stemming from being rushed to market (relatively speaking) two decades ago. It's had enormous success as the most viable iOS alternative, but at a cost. On the flip side, consider PalmOS. It was SotA at its debut in 1996. In the early aughts, Palm made Treo smartphones when almost no one knew what a smartphone was. It had a mult…
Dart and Flutter were actually meant to be the better design. Lots of features from those were replicated on Kotlin-Jetpack, especially Compose. And lots of those features end up being copied to Java. Dart-Flutter still supports them better natively though, instead of having to hack things like reactive programming via Kotlin Flow.
I can't remember if it was Compose or Flutter, where I spent a ridiculous amount of time trying to get something to stay centered on the screen regardless of orientation. Something that I could do pretty easily and quickly with my own UI tech library in C++. However I can't use that code without having to jump through all the annoying hoops you have to jump through with JNI crap in order to use it. So I just don't bother with Android anymore.
Re: Ask HN: Am I crazy or is Android development awful?
#66There's a bigger issue here: OP describes writing prototype software on a desktop, and compares this to writing more production-style software on a highly constrained mobile device. This isn't an apples-to-apples comparison. Python packaging is notoriously bad, and while you can get a Linux/Windows compatible script without too much work, getting to a single executable that just runs is much harder. Cloning a repo, s…
amazingly, the browser has pretty much solved all of this. fully compatible EMCAscript implementations on every single device with hardware access (such as the camera, as is needed in this post) I don't buy your "security through difficulty" argument for that reason alone.
OP writing this prototype as a web app would likely have been the path of least resistance to having something work on mobile.
Re: Ask HN: Am I crazy or is Android development awful?
#67"You do not need to root your device. And - if you prefer - you do not need a separate development machine (PC or laptop): All can be done in a terminal on the device, and even in a Lisp REPL while the App is running."
Re: Ask HN: Am I crazy or is Android development awful?
#68Android is an example of technical debt from poor caked-in design. Its problems are still stemming from being rushed to market (relatively speaking) two decades ago. It's had enormous success as the most viable iOS alternative, but at a cost. On the flip side, consider PalmOS. It was SotA at its debut in 1996. In the early aughts, Palm made Treo smartphones when almost no one knew what a smartphone was. It had a mult…
What does caked-in mean?
Re: Ask HN: Am I crazy or is Android development awful?
#69You should try iOS dev.
Re: Ask HN: Am I crazy or is Android development awful?
#70Kotlin is a dream. I literally love writing it.
Back when I was in undergrad, I recall how I was taught C. Just read one of the bible books on a weekend, and was ready to go. I was recently taking a look at Kotlin books and literally banged my head on the table. I realized the language has a good rap but it is ridiculously feature-laden .. to the point they threw in the kitchen sink. A key positive of languages is easiness to learn. I really wonder about Kotlin. I…
`
enum class Sample { A, B }
val x: Sample = Sample.A
val y = when (x) {
Sample.A → 0
Sample.B → 1
}`
I think if you give it time you might like it. It takes some getting used to, sure, but especially compared with the alternatives (Java to use JVM, Java on Android, etc) it's pretty great.
Cross-platform Kotlin is very new but it works surprisingly well.