Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
keenerd
on March 2, 2014
|
parent
|
context
|
favorite
| on:
Python Best Practice Patterns
Counterpoint, object.next() was removed from python3 and replaced with next(object). It both modifies state and returns data. I really prefered next() as a method since it does change the state of a generator.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: