2 ms·
Oh! Well, I must've missed that train (haven't done py for a few years). A couple of years ago, you had to get your info from a mix of a tutorial and a library
by skrebbel 15y ago
Oh! Well, I must've missed that train (haven't done py for a few years). A couple of years ago, you had to get your info from a mix of a tutorial and a library reference, and most functions were documented with 3-4 sentences max and no examples.
Hmm, that said, that's still exactly what I find on the official Python site (e.g. http://docs.python.org/library/stdtypes.html#string-methods http://docs.python.org/library/stdtypes.html#string-methods - PHP beats this by lightyears with a single page with examples and comments per function). Which 3rd party thing should I be looking for? (genuinely interested btw - the docs is one thing i dislike about python, and maybe unrightfully so, apparently)
- scott_s 15y agoMaybe you're looking more for a tutorial, and not a reference? I've always found the online Python docs excellent, and provided me with exactly the information I need.
- masklinn 15y ago> e.g. http://docs.python.org/library/stdtypes.html#string-methods http://docs.python.org/library/stdtypes.html#string-methods - PHP beats this by lightyears with a single page with examples and comments per function 1. Please explain why you need more explanation of these very basic functions 2. PHP's doc comments are unadulterated garbage 3. When things are worth documenting, they are: http://docs.python.org/py3k/library/collections.html http://docs.python.org/py3k/library/collections.html 4. if you truly think string methods are insufficiently documented, it is very easy to contribute to the documentation.
- TylerE 15y agoFrankly, no. Just no. The REASON PHP needs a page per function is the sheer number of poorly handled edge cases, version incompatibilities, and gotchas.