Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.058 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'ideally': 0.04; 'subject:Python': 0.05; 'that?': 0.05; 'rest,': 0.07; 'url:blog': 0.09; 'python': 0.09; 'correct,': 0.09; 'python:': 0.09; 'through,': 0.09; 'sections': 0.13; 'cases': 0.15; '(well,': 0.16; 'cetera.': 0.16; 'ignores': 0.16; "module's": 0.16; 'module:': 0.16; 'perfect.': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'umpteen': 0.16; 'wrote:': 0.17; 'obviously': 0.18; 'url:02': 0.22; "python's": 0.23; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'wrote': 0.26; 'common': 0.26; 'am,': 0.27; 'separate': 0.27; 'core': 0.27; "doesn't": 0.28; 'post': 0.28; "d'aprano": 0.29; 'obscure': 0.29; 'separated': 0.29; 'steven': 0.29; '"the': 0.29; 'url:python': 0.32; 'done,': 0.33; 'doubt': 0.33; 'like:': 0.33; 'to:addr:python-list': 0.33; 'hi,': 0.33; 'another': 0.33; 'list': 0.35; 'consistent': 0.35; 'community': 0.35; 'subject:?': 0.35; "won't": 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; 'compare': 0.36; 'useful': 0.36; 'should': 0.36; 'too': 0.36; 'bad': 0.37; 'two': 0.37; 'why': 0.37; 'quite': 0.37; 'subject:: ': 0.38; 'speak': 0.38; 'some': 0.38; 'there,': 0.38; 'url:en': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'short': 0.39; 'received:192.168': 0.40; 'think': 0.40; 'your': 0.60; 'valuable': 0.60; 'most': 0.61; 'places': 0.61; 'first': 0.61; 'url:index': 0.61; 'land': 0.62; 'needs,': 0.62; 'different': 0.63; 'times': 0.63; 'more': 0.63; 'other.': 0.64; 'here': 0.65; 'search,': 0.65; 'life': 0.66; 'biggest': 0.71; 'million': 0.72; 'url:wordpress': 0.75; 'guaranteed': 0.76; '95%': 0.84; 'banned': 0.84; 'disagreement': 0.84; "it'd": 0.84; 'judgement': 0.84; 'strengths,': 0.84; 'suggests.': 0.84; 'titled:': 0.84; 'url:2013': 0.84; 'url:posts': 0.84; 'url:php': 0.86; 'subject:you': 0.88; 'glance': 0.91 Date: Tue, 26 Feb 2013 13:58:59 -0500 From: Mitya Sirenef User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Do you feel bad because of the Python docs? References: <512cb0a0$0$30001$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <512cb0a0$0$30001$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 79 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361905144 news.xs4all.nl 6925 [2001:888:2000:d::a6]:42848 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39990 On 02/26/2013 07:54 AM, Steven D'Aprano wrote: > One week ago, "JoePie91" wrote a blog post challenging the Python > community and the state of Python documentation, titled: > > "The Python documentation is bad, and you should feel bad". > > http://joepie91.wordpress.com/2013/02/19/the-python-documentation-is-bad- > and-you-should-feel-bad/ > > It is valuable to contrast and compare the PHP and Python docs: > > http://php.net/manual/en/index.php > http://www.python.org/doc/ > > There's no doubt that one of PHP's strengths, perhaps its biggest > strength, is the good state of documentation. But should we feel bad > about Python's docs? I don't think that either the Python documentation > or community is as bad as JoePie91 suggests. (Well, I won't speak for the > people on Freenode's #python. It took me approximately three minutes to > be banned from there, with no warning or explanation.) > > Another response to the blog post, by one of the core developers: > > http://blog.briancurtin.com/posts/why-i-dont-feel-so-bad.html > > > I think the issue with python documentation is that it ignores the 95/5 rule: 95% of people who land on a module's page are only looking for 5% of its information. So ideally it'd be separated in two different pages or two sections of the same page, something like: =============================================================================================== Hi, chances are you are the 95% of people who isn't interested in the intricacies, obscure edge cases et cetera. Here are the few common use cases for this module: ... ... ... =============================================================================================== Hi, the section above obviously did not suit your needs, so you must be in the 5% who has no choice but to either read through or at least glance through, or use search, to find what you need in the following umpteen million of screenfuls: ... * 1000000 =============================================================================================== Why doesn't Python do that? Quite simply, it's a lot more work: you have to separate most useful parts from the rest, which involves judgement calls and will cause some disagreement and ultimately won't be perfect. Once done, two separate sections need to be mainained and kept in sync. It's important that they don't contradict each other. Right now places like SO and mailing list act like the first section I described. The issue is that they're not always up to date and not guaranteed to be correct, are not in a consistent style and depth, are not centralized. -m -- Lark's Tongue Guide to Python: http://lightbird.net/larks/ Is life not a thousand times too short for us to bore ourselves? Friedrich Nietzsche