Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Django': 0.03; 'plenty': 0.03; '(although': 0.05; 'subject:Python': 0.06; 'am,': 0.12; 'cc:addr:python-list': 0.15; 'char)': 0.16; 'literals': 0.16; 'received:192.168.1.104': 0.16; 'subject:Supporting': 0.16; 'written': 0.17; 'wrote:': 0.18; 'ryan': 0.18; 'cc:no real name:2**0': 0.21; 'literal': 0.23; 'header:In-Reply-To:1': 0.23; 'cc:2**0': 0.25; 'code.': 0.26; 'weird': 0.28; 'cc:addr:python.org': 0.29; 'array': 0.30; 'chris': 0.30; 'nov': 0.31; 'pm,': 0.31; 'tue,': 0.32; 'header:User-Agent:1': 0.33; 'character': 0.34; 'lie': 0.34; 'skip:" 10': 0.36; 'received:192': 0.38; 'subject:: ': 0.39; '2011': 0.62; 'selected': 0.67; 'header :Reply-To:1': 0.70; 'reply-to:no real name:2**0': 0.71; 'hey,': 0.78; '02:35': 0.84 Date: Tue, 08 Nov 2011 07:58:19 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: Chris Angelico Subject: Re: Python ORMs Supporting POPOs and Substituting Layers in Django References: <1f9f9361-8278-4ae6-8d4d-5fd09b0fd800@hc5g2000vbb.googlegroups.com> <415d875d-bc6d-4e69-bcf8-39754b45030a@n18g2000vbv.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:QZVtr7mHc6pWsvxRd2rBpKD+c1jgq+0mWsVHscg11dn GvSaeJLw2P96VhY3sJphxQ65ZycSU3222iXlK7BjG/uIOczlkJ ktvCykKjTlFE2pN0RtcDcqP7/KZzevHDNXpGJB/Spsi2ufRzgY tq762lL3S54Te+5rAdMY/1/V/G+oHVwi5hkTVT+Jf6Xq0GkWI+ hRjT85IxBiRxHPNrGDtJUc185wBWGQ00Nyb7o90+q1i0sCGATT SYm28IMb/Iv08qsQTk5VEzYKGIyhk9EBzo3Oa6QAjYcDYlKLcs djI4402450K/UcgJAXKhbI/Vj5qTQQz6v//yO2C5LPGIvVmCQ= = Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: d@davea.name 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1320757127 news.xs4all.nl 6965 [2001:888:2000:d::a6]:55677 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15466 On 11/08/2011 02:35 AM, Chris Angelico wrote: > On Tue, Nov 8, 2011 at 4:09 PM, Lie Ryan wrote: > > I much prefer the "everything's an object" notion. C's array literals > are just as weird (although in C, you can directly dereference a > literal character array - "ABCDEFG"[note_idx] will give you a note > name as a char) Hey, in C you can also do note_idx["ABCDEFG"] and get the selected character as if you had written what you showed. Plenty of opportunity in C to write illegible code. -- DaveA