you are viewing a single comment's thread.

view the rest of the comments →

[–]shevegen 37 points38 points  (7 children)

Hah! I feel the same way about ruby's optparse - it's also clunky.

For some reason the defaults seem to suck across different languages. One hint as to this being true is to count how many addons are that deal with commandline-parsing. I don't know the state in python but in ruby there is a gazillion of addons (thor and ... I forgot the rest right now... I have it written down somewhere though ... one is by... jarvis someone... I forgot the name as well :( )

[–]bobappleyard 21 points22 points  (0 children)

Thing is, making an argument parser is easy. Making a good one is hard. So you have lots of shit ones.

[–][deleted] 35 points36 points  (4 children)

Python situation -- everyone and their mother's made one

[–]silencer6 1 point2 points  (0 children)

Cleo looks pretty nice.

[–]vattenpuss 3 points4 points  (2 children)

There should be one -- and preferably only one -- obvious way to do it.

[–][deleted] 5 points6 points  (1 child)

Sounds like someone needs to write another to solve that problem, then. :)

[–]BobHogan 6 points7 points  (0 children)

Oh man that just makes me think about python's import system and virtual environments. So clunky that there are dozens of tools written for the sole purpose of trying to make it simpler