back

by eatonphil·11y ago·view on hn ↗
When have you seen this pattern shown in a Python beginners tutorial? ... or anywhere? I have never seen this pattern before and for that reason it is interesting.
1 comments
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.