Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
setr
on July 16, 2025
|
parent
|
context
|
favorite
| on:
I'm switching to Python and actually liking it
the issue isn't the value of i, the issue is that i is still available after the loop ends. in most other languages, if it was instantiated by the for-each loop, it'd die with the for-each loop
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: