Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
macleginn
on April 23, 2025
|
parent
|
context
|
favorite
| on:
Advanced Python Features
I would say that the main benefit of for/else is readability and ease of writing since nothing needs to be front-loaded. (The downside is an arguably redundant addition to the basic syntax, of course.)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: