Paul Prescod wrote: > > Augmented assignments are unPythonic because they don't add any new > > functionality to the language. From what I've seen, all people, > > who ever missed it, were experienced C-programmers. > > That's true, but we should not be ashamed to steal good ideas from other > languages. Probably the only people who would miss __getattr__ would be > SmallTalk programmers and the original proponents of the various > operator overloading features may well have come from C++. Don't forget the crowd of people doing environmental acquisition (you know who they are ;-). Honestly, I think that __getattr__ is one of the most useful hooks available on Python objects. -- Marc-Andre Lemburg ______________________________________________________________________ Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4