Python ORMs Supporting POPOs and Substituting Layers in Django
Dave Angel
d at davea.name
Tue Nov 8 07:58:19 EST 2011
On 11/08/2011 02:35 AM, Chris Angelico wrote:
> On Tue, Nov 8, 2011 at 4:09 PM, Lie Ryan<lie.1296 at 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
More information about the Python-list
mailing list