Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Ixiaus
on Oct 23, 2011
|
parent
|
context
|
favorite
| on:
Code Like a Pythonista: Idiomatic Python
I just read, that syntax is sugar for the list.extend() method so it's still making copies of the list - I wouldn't use it for a list containing complex objects; but that is very idiomatic for simple use cases (like this one?).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: