On Thu, Jun 12, 2008 at 8:40 AM, Barry Warsaw <barry at python.org> wrote: > Ideally, I would like for those considerations [i.e. whether an access is expensive] > to not enter into the API > design. I'd rather keep it clean, with sufficient documentation to give > hints about any additional costs involved. Logically .alive is a property, > so I'd like to write it that way. I beg to differ. Ideally, API design should suggest which operations are efficient and which ones aren't, in order to (subconsciously) help the developer develop a mental model about the performance characteristics of an API. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
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