Timothée Mazzucotelli :python: on Nostr: npub133stt…qts8h I agree with most of the article, with a tiny bit of nuance. But ...
npub133stthhmlxcl2d7kayppq0y0sd8hda0h7m8g82hjmg023c0nmsdseqts8h (npub133s…ts8h)
I agree with most of the article, with a tiny bit of nuance. But this:
> Use click instead of argparse or heaven forbid, sys.argv
...is no thanks ^^ Click, when used wrong (which is easy to do), makes it painfully hard to read code, use it programmatically, and debug it. argparse can be very verbose, but at least it isn't magic. Have a look at Cappa instead! Top 1 CLI framework :)
I agree with most of the article, with a tiny bit of nuance. But this:
> Use click instead of argparse or heaven forbid, sys.argv
...is no thanks ^^ Click, when used wrong (which is easy to do), makes it painfully hard to read code, use it programmatically, and debug it. argparse can be very verbose, but at least it isn't magic. Have a look at Cappa instead! Top 1 CLI framework :)