Re:Challenge: Implement CLI interface like that?
by tathagatadg on Sunday June 17, 2012 @09:39AM
(#4122911)
I too think the pitch is brilliant - specially when you think about the target audience - folks who get turned on by the word "Challenge", er developers, and most of them must have felt the need for something like this at some point of their life("Some day I'll have to write clean & DRY way ...").
Only thing different might be instead of giving the solution on that page itself - a hyperlink to the solution which takes you to docopt.org landing page
Re:Challenge: Implement CLI interface like that?
by mikeash on Sunday June 17, 2012 @10:34AM
(#4123011)
I agree. I thought, interesting challenge, although not interesting enough for me to actually try it. I wonder if he has any example solutions that I could look through. Huh? Ooooh.
If I had just seen it presented straight out as, "Parse arguments based on docstrings," I doubt it would have been nearly as memorable.
Great idea, great presentation!