Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.134.4.91.MISMATCH!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.076 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.00; 'python': 0.09; 'symbols': 0.09; 'compress': 0.16; 'foo():': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'handling.': 0.16; 'set;': 0.16; 'utterly': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'unicode': 0.17; 'jan': 0.18; "world's": 0.22; 'long,': 0.24; 'pass': 0.25; 'header :In-Reply-To:1': 0.25; 'replace': 0.27; 'message- id:@mail.gmail.com': 0.27; 'enforce': 0.29; 'character': 0.29; 'definition': 0.29; 'words': 0.29; 'skip:_ 10': 0.29; 'keyword': 0.30; 'johnson': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'awesome': 0.35; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'really': 0.36; 'subject: (': 0.36; 'two': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'to:addr:python.org': 0.39; 'step': 0.39; 'header:Received:5': 0.40; 'most': 0.61; 'save': 0.61; 'truly': 0.62; 'perfect': 0.63; 'more': 0.63; 'obvious': 0.71; '2013': 0.84; 'coupled': 0.84; 'lengthy': 0.84; 'rick': 0.91; 'subject:Class': 0.91; 'demand': 0.96 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=+XEb2luQMn+IaBuY5b6esdBAT9b7k+o6LWi8q3mVnJY=; b=GaN1muILe8f+HVmtZ92C406I2XCyqKt0HO8iBA5Z37poCwhI13rBmzSwwETKgHdP1z 3/jgCtc5rexwiznVihU4WAcQfOFbz/3iseArjUOmLwmfKUmCfR7YOd7Tvy3lp1qzbNFJ 4+HTwiVRkyol4wVlSFd22TJKtgV7sfEDbgzf4/acKUddcAuZ5UlMJKQmlfv3eQTCxq9O 96pLaN3nQm9IrgTxj+pLPMomsnEu3yDKIYyg9aswJ7lOPnmOliTtEzcnXIX+GcjPzYBp xBqSQYXk8KFDlwuZQ0ZXavshimJx0C1RXNE7dUsrXWkhHGILCp10cC7hBr5ipzukG2T/ flmA== MIME-Version: 1.0 In-Reply-To: References: <5171d66e-580e-4bb3-bb8d-7e3f1de70ec4@googlegroups.com> Date: Mon, 14 Jan 2013 18:56:08 +1100 Subject: Re: PyWart (Terminolgy): "Class" 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1358150178 news.xs4all.nl 6927 [2001:888:2000:d::a6]:42243 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36775 On Mon, Jan 14, 2013 at 6:32 PM, Rick Johnson wrote: > I really don't like using two words ("define object", or "def obj") and u= sing one single keyword is ambiguous ("object" or "obj"). So the obvious so= lution is to combine the abbreviated words into one compound keyword that w= ill save keystrokes, save parsing, and all-the-while maintain symmetry. Tha= t keyword is "defobj". Coupled with "defmeth" and "deffunc" we now have a s= ymmetrical definition syntax! > > deffunc bar(): > return > > defobj Foo(): > defmeth __init__(self, blah): > pass Awesome! Now, just one more step to make Python into the World's Most Awesome Language(tm): Replace those lengthy words with single symbols found in the Unicode set; compress everything down and enforce perfect Unicode handling. Also, demand that names be one character long, to enforce creativity by the Mark Rosewater principle. We will then have a truly wonderful language; everything will be so utterly readable. ChrisA