this post was submitted on 15 Aug 2023
1920 points (98.9% liked)

Programming

17669 readers
307 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

Update: [email protected] has been created, temporarily managed by @[email protected] until some mods volunteer for it

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 5 points 1 year ago

I tried to follow an Android tutorial (in Kotlin, so it should have been a modern one) a while ago, and the only conclusion I can come to is it was all designed by 500 different people over 15 years who never spoke to each other, and nobody ever dared throw anything away.

I've never seen such a basic CRUD app (and incidentally wasn't even doing the C, U or D of that) take so many lines of code to do "properly". Nothing that simple should be that complex. Everything seems geared up for "what if you want to translate to 100 different languages, change the back end at any point, and individually configure forms for these 80 different aspect ratios on devices?" Yeah, what if I don't?

I still use Delphi for my sins, and while it has its faults (mostly that it's closed source, and no fucker else uses it so I can't work anywhere else), but simple apps like that are "drop a few things on a form, add half a dozen lines of code and run it".

There's all these places in Android that should be easy, but because you're going through three levels of XML files and umpteen factory classes, it isn't.