3 ms·
> Very few libraries creates its API so well as to transcend its origins At least in the argument parsing space, docopt[0] did as well, with official implement
by hobofan 7y ago
> Very few libraries creates its API so well as to transcend its origins
At least in the argument parsing space, docopt[0] did as well, with official implementations in ~22 languages. It might not always be the best native approach, but the one I will reach for when I have to do argument parsing in a new language.
- paulddraper 7y agoDocopt is indeed popular. By virtue of having it creating its own language, its API is naturally "transcendent." :) I've used it in Ruby, for which IMO it is the best available choice. But there is only so much you can express in docopt, and I quickly begin missing the flexibility of a "real" API and argparse.