News for hackers. Stuff that matters.
Re:Javascript-Style Objects in Python by hasenj on Monday March 16, 2015 @03:48PM (#9213884)
Why would it show in beginner tutorials?

It's just not pythonic.

> There should be one-- and preferably only one --obvious way to do it.

Not to mention that the object['field'] syntax is rather annoying.

There are no comments on this comment yet.