Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dalke
on May 8, 2012
|
parent
|
context
|
favorite
| on:
Improving your (Python) code with modern idioms
I found that I often (~1 time in 10) make a mistake with that syntax, and omit the trailing 's'. I think it's because I'm not used to having anything after a closing ')'.
mturmon
on May 8, 2012
[–]
Same problem here. Maybe the braces approach using {name} is an improvement upon %(name)s in that respect.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: