323
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 29 Apr 2024
323 points (100.0% liked)
Programming
17691 readers
146 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 !webdev@programming.dev
founded 2 years ago
MODERATORS
I spent thr last 10 minutes reading the flutter docs, and I have no fucking idea what it is, what language it is written in, or generally anything useful about it. I think we'll be fine.
Also, Google's contributions to Python are mostly obsolete. optparse was replaced by argparse which is .mostly replaced by click. Yapf was never successful and black has taken a commanding lead. Python will be just fine.
If you couldn't figure out what flutter is in 10 minutes that reflects poorly on you much more than anything else.
Flutter uses dart. It's one of the best ui building frameworks I have used. Not that it is perfect...
Flutter - the framework - is great. Dart as a language is tolerable - lot of ugly boilerplate, manual codegen, and things you can't quite express correctly are everywhere, but if you're not too much of a stickler, Flutter is still worth it (at least until Compose Multiplatform matures - if ever).
Yeah totally agree. I can give it credit for being adapted for better accommodating flutter, but it has extremely many things where it does not come across as modern
I would say it's not as good as really great languages like Rust, but it's much nicer than Python or JavaScript. I would say it's nicer than Typescript too. Typescript has a better type system but it's held back by JavaScript.
I just hate reading it. I wish it looked more like Kotlin and less like JavaScript 😭
It’s the carcinisation of programming languages. Everything evolves into JavaScript.
Though let’s be real, even JavaScript evolves into Lisp.
Flutter is a UX/UI framework for Dart programming language. Dart is a statically typed (optionally dynamic possible), completely type safe, soundly null-safe compiled programming language. It can compile to JS to run on the web, or compile to x86_64 or Arm assembly to run on hardware.
Combining Dart, which is honestly an awesome but underrated language with Flutter which is a declarative UI framework, I have found a new love for app development. It's very pleasant.
And now I get shot in the dick with this news....
I typed in "python flutter" into Google and clicked on the first link. The first pictures shows a bit of code and a simple window with two buttons. I go back to the code and skim it. It defines the buttons. How you cannot deduce from that, that this library makes UI says a lot about you.
I also think your assumption that click replaced argparse is wrong. Click heavily relies on decorators which makes separation of functional code and command line interface code either impossible or difficult. If you only care about your one program that is fine, but it does make your code not very reusable.
Flutter has nothing to do with Python as it's a JavaScript library, so if looks like we're in the same boat.