Y
Hacker News
new
|
ask
|
show
|
jobs
by
lou1306
306 days ago
`printf`/`str.format` are also prone to nasty failures: if you forget a variable (e.g., `str.format("{} {} {}", 0, 1)`), you only find out when you crash with an IndexError at runtime.
1 comments
zahlman
305 days ago
I would expect that linters can pick up this sort of thing pretty easily.
link