Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15466

Re: Python ORMs Supporting POPOs and Substituting Layers in Django

Date 2011-11-08 07:58 -0500
From Dave Angel <d@davea.name>
Subject Re: Python ORMs Supporting POPOs and Substituting Layers in Django
References (2 earlier) <j98tnf$qh0$1@reader1.panix.com> <j995df$490$1@reader1.panix.com> <eb3e170a-ffd2-4579-96a4-6b213c031f50@h24g2000yqm.googlegroups.com> <j9adj5$qki$1@dough.gmane.org> <CAPTjJmqtdDnh3diL_7mDu3skkyAnkPkGrnWPxmL_UKdqkOLPyg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2539.1320757127.27778.python-list@python.org> (permalink)

Show all headers | View raw


On 11/08/2011 02:35 AM, Chris Angelico wrote:
> On Tue, Nov 8, 2011 at 4:09 PM, Lie Ryan<lie.1296@gmail.com>  wrote:
> <SNIP>
> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Python ORMs Supporting POPOs and Substituting Layers in Django Travis Parks <jehugaleahsa@gmail.com> - 2011-11-05 13:11 -0700
  Re: Python ORMs Supporting POPOs and Substituting Layers in Django Marco Nawijn <nawijn@gmail.com> - 2011-11-05 13:35 -0700
  Re: Python ORMs Supporting POPOs and Substituting Layers in Django Chris Angelico <rosuav@gmail.com> - 2011-11-06 09:09 +1100
  Re: Python ORMs Supporting POPOs and Substituting Layers in Django Travis Parks <jehugaleahsa@gmail.com> - 2011-11-05 20:22 -0700
    Re: Python ORMs Supporting POPOs and Substituting Layers in Django John Gordon <gordon@panix.com> - 2011-11-07 15:33 +0000
      Re: Python ORMs Supporting POPOs and Substituting Layers in Django John Gordon <gordon@panix.com> - 2011-11-07 17:44 +0000
        Re: Python ORMs Supporting POPOs and Substituting Layers in Django Travis Parks <jehugaleahsa@gmail.com> - 2011-11-07 18:21 -0800
          Re: Python ORMs Supporting POPOs and Substituting Layers in Django Lie Ryan <lie.1296@gmail.com> - 2011-11-08 16:09 +1100
            Re: Python ORMs Supporting POPOs and Substituting Layers in Django Travis Parks <jehugaleahsa@gmail.com> - 2011-11-12 08:11 -0800
          Re: Python ORMs Supporting POPOs and Substituting Layers in Django Chris Angelico <rosuav@gmail.com> - 2011-11-08 18:35 +1100
          Re: Python ORMs Supporting POPOs and Substituting Layers in Django Dave Angel <d@davea.name> - 2011-11-08 07:58 -0500

csiph-web