3 ms·
Python and Ruby both have an optparse library in their standard library. Compare the documentation for yourself: https://docs.python.org/3/library/optparse.htm
by Buttons840 3y ago
Python and Ruby both have an optparse library in their standard library. Compare the documentation for yourself:
https://docs.python.org/3/library/optparse.html https://docs.python.org/3/library/optparse.html
https://ruby-doc.org/stdlib-2.7.1/libdoc/optparse/rdoc/index.html https://ruby-doc.org/stdlib-2.7.1/libdoc/optparse/rdoc/index...
I learned Python 2.3 almost 20 year ago, and the standard library documentation in Python has always been just as good. As a beginner I found Python's documentation very helpful, I could read the documentation like a tutorial, like a book, a good teacher. To this day I still look at the Python regular expression documentation whenever I'm using a regular expression in any language. I learned regular expressions from the Python documentation, there was literally no blog or tutorial I found more approachable than the Python documentation when I was very first learning regular expressions.
Ruby had, and still has, a list of methods for documentation.