Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zo1
on July 9, 2014
|
parent
|
context
|
favorite
| on:
Anti-Patterns in Python Programming
Don't forget generator comprehensions which are almost identical to list comprehensions. But instead of evaluating the whole result set and returning it, they return a generator that you can then iterate over. Very neat stuff.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: