Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python': 0.09; 'forcing': 0.09; 'implemented.': 0.09; 'subject:python': 0.11; 'times,': 0.13; 'language': 0.14; 'languages.': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guide.': 0.16; 'oct': 0.16; 'programmer,': 0.16; 'subject:Feedback': 0.16; 'uppercase': 0.16; 'wrote:': 0.17; 'translate': 0.20; 'python?': 0.20; 'bit': 0.21; 'received:209.85.214.174': 0.21; 'aspect': 0.22; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'language.': 0.27; 'core': 0.27; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'chris': 0.28; '"do': 0.29; 'perl': 0.29; 'statements': 0.29; 'classes': 0.30; 'usually': 0.30; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'programmers': 0.36; 'should': 0.36; 'october': 0.37; 'does': 0.37; 'two': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'skip:l 20': 0.38; 'some': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'most': 0.61; 'first': 0.61; 'ever': 0.63; 'more': 0.63; 'want,': 0.65; 'it"': 0.84; 'motto': 0.84; 'zen': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=PPhPQnqzb61eo4nOiwcAIhMQAPzL9Xs+khSf0PaB4+k=; b=sGbUGMJnKp9MbL7rmqYRHzTwq2LoGd1uiU9xeNvH1ox6+SY8eWmuB813kG4+IgYlJY 3Fm/mlD/QLrJPlPOiflI3ydGMrl7xGDFbMJlE8heD8gaxrgy0Ppi+gKO7qbrq4uFDVFw LbJtj7OH28NwpQe4NRe3yTjRX1WpmjBghwWa096C4W4xt8g4YKol5EggP92wX6Z7So/f zVUNLUQGJ9c/xvvrhKo/emga8V5Rm4w5+FI3S8dH5cD2lW0PM1X0+RNu9qvv1Lbp3yPe /iTo1GFwdW8dHs8vOyUz6w4lf9MtgT07T0lE6/Q48ddLo4Jhzv9oBxTxk8RS0fqRlLpp qvig== MIME-Version: 1.0 In-Reply-To: <9c958a7c-04db-4c6d-a8a2-38400e67e718@googlegroups.com> References: <634c9dca-e64d-40c6-b9d5-cf04a86a220a@googlegroups.com> <4c7a82ca-de0c-4b8b-a128-9ecd1b4c8b31@googlegroups.com> <5f18f5d1-1442-4a10-922c-783dc6ddf657@googlegroups.com> <9c958a7c-04db-4c6d-a8a2-38400e67e718@googlegroups.com> Date: Sun, 14 Oct 2012 10:06:22 +1100 Subject: Re: Feedback on my python framework I'm building. From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350169584 news.xs4all.nl 6932 [2001:888:2000:d::a6]:36586 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31229 On Sun, Oct 14, 2012 at 9:24 AM, wrote: > On Saturday, October 13, 2012 2:33:43 PM UTC-4, Chris Angelico wrote: >> >> Nice theory, but this is the bit that I fundamentally disagree with. >> Forcing programmers to work in one particular style is usually not the >> job of the language/framework/library. That should be up to the >> programmer, or at least the local style guide. > > Have you ever read the zen of python? "Theres only one way to do it" is a= core motto of the python language. In my opinion, this is the most importa= nt aspect of python and is what makes python so much better than PHP and pe= rl and all the other "do it however you want, the more convoluted and obfus= cated the better!" languages. Many times, but 'import this' doesn't translate into a language rule that all classes have an uppercase first letter and all non-classes don't; nor does it require that it be impossible to combine two simple statements onto one line (because it's equally "obvious" to put them onto two lines). Some things are questions of style, and are and should be both implemented. ChrisA