r/Python • • Dec 18 '22

Discussion App development (iOS and andoid) using python?

Looking to get some of my app ideas into reality and have some python code to do certain things but wasn't sure where to begin.

Some people suggest i try " flutter" or "react" but i've seen a few other alternatives

https://beeware.org/

Says you can take python code and release it on iOS and more, but maybe i'm not understanding what's happening.

Any suggestions or tips for coding using python or do i need to learn /use a different language for what i'm looking to do?

51 Upvotes

35 comments sorted by

View all comments

11

u/gman1230321 Dec 19 '22

I personally would not recommend doing this. Python is great at a lot of things, but this isn’t one of them. IMO one of the reasons Python gets some (arguable deserved) flack is because people try to use it for everything, then wonder why using Python for game development was a bad idea. Being a good programmer is not about knowing how to use a couple tools for any job, but knowing what jobs are right for the tools you have. I know that was a bit of negativity so let’s talk about what j would recommend instead. First, yes you can use Python for this project, but I wouldn’t recommend it for the whole thing. If you have a need for a backend (database management, large scale data processing, etc) use Python for that 100%. I recommend flask as it’s pretty easy to setup a REST API with. For the actual app itself, I don’t have much experience personally, but somethings I have used were react native and flutter and you mentioned above. Flutter is a really cool technology but it uses a completely different language called dart. Dart is fine, absolutely no complaints about the language itself, but it’s a bit smaller since it’s only use is pretty much just flutter. This could make it ever so slightly to find support but it’s not that bad. I haven’t noticed much of a problem w it. React I have less experience with but still a good experience. Support is a bit better and experience is about equal I’d say. Although, morally, I don’t like it simply bc I have my own problems w Meta, but there’s not much wrong w the product itself. It has a bit of an advantage over flutter simply bc it’s in JS which means you can use TypeScript which has recently become one of my favorite languages. One more thing to add to this list that I’ve had my eye on but haven’t gotten to try yet is svelte-native. I love svelte for web and have been curious what the mobile experience was.

5

u/alcalde Dec 19 '22

Being a good programmer is not about knowing how to use a couple tools for any job, but knowing what jobs are right for the tools you have.

Sorry, when I was growing up you picked ONE programming language to use for life and you defended it to the death. I don't understand you kids and your language agnosticism. :-)

But seriously. You did. Atari or Commodore. Mac or PC. Atari, Intellivision or Colecovision. Delphi or Visual Basic. Fortran or C. Emacs or Vim. Then you defined your identity by these choices and spent 20 hours+ a week arguing over them in a tribal us vs. them slugfest.

AND IT WAS A LOT MORE FUN THAN TODAY.

2

u/gman1230321 Dec 19 '22

Yup this is pretty accurate. When I was younger the first language I learned was Python and I tried to do everything w it. I would argue till the day I died that Python was the best (and I still do sometimes lmao) all because when I was 10 I got a Python for dummies book. And u know what, ur right, it was more fun back then lmao