Kotlin
Programming
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]
These days, you have several options. You could use JavaScript/Typescript via React Native which builds both iOS and Android.
You could use Kotlin Multi-Platform, builds both iOS and Android, vut I believe you will need to know some Kotlin for Android and Swift for iOS.
You could use Flutter, which uses the Dart programming language, also builds both iOS and Android.
Then there is MAUI using C#, builds both iOS and Android.
Finally, you could resort to native for each platform.
As you can see, there are plenty of options. Picking one comes down to what you need and which language works for you. Keep in mind, most of the languages aren't really close to Python.
Good luck.
Flutter with Dart
When it comes to mobile apps, I generally recommend native (swift/kotlin) or Flutter, they all have good tooling and have good performance
In this case though, they are all curly braces languages and don't have much in common with python.
If you don't want to learn at least 1 new language, there are some python libraries/frameworks which can be used for mobile dev. Like Kivy or Beeware. I've never used any of these though so I can't tell you how good/bad they are.
Just out of curiosity: which do you think is closer to Python? Kotlin or Swift?
Not knowing wither, my hunch would be to say Kotlin. But I am curious.
Kotlin and Swift have similar syntax and neither are like Python to be honest. If I were to pick one, Kotlin all the way. You can do a fair amount of back-end work with itas well.
Hmm... A bit personal, but Python's old school at this point, and so Javascript might feel like the closest.
Modern-er languages for mobile devs have more language support for building apps in my personal opinion.
Python has never been a big language for app development… no idea why you would call it old school.
To answer op, Swift for iOS; Kotlin on Android.