4 ms·
docopt is cool, but is there something new here? It's been around for a while.
by ams6110 12y ago
docopt is cool, but is there something new here? It's been around for a while.
- l0gicpath 12y agoClearly quite a few find this interesting since it made its way to the front page.
- skeoh 12y agoI certainly found this interesting and implemented the node.js package[1] in a project just now. I found it super easy to use -- much moreso than minimist[2] or commander[3]. [1]: https://github.com/docopt/docopt.coffee https://github.com/docopt/docopt.coffee [2]: https://github.com/substack/minimist https://github.com/substack/minimist [3]: https://github.com/visionmedia/commander.js https://github.com/visionmedia/commander.js
- noobermin 12y agoI certainly didn't know about it. I had the exact same issue with argparse as the video on the page showed, I always had to look of the documentation to use it or copy and paste it from old scripts to get it to work. This is soo much better, I don't think I'll use argparse again.
- dang 12y agoHN submissions don't have to be new—just interesting.
- exDM69 12y agoThere's been quite a lot of new progress - implementations for new languages in particular. Last time I checked there was no backend for C.