• neutronst4r@beehaw.org
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    edit-2
    8 months ago

    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.

    • Artyom@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      Flutter has nothing to do with Python as it’s a JavaScript library, so if looks like we’re in the same boat.