Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kaba0
on Sept 20, 2023
|
parent
|
context
|
favorite
| on:
Fixing for loops in Go 1.22
> An anonymous class cannot access local variables in its enclosing scope that are not declared as final or effectively final.
So no, Java didn’t have this problem.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So no, Java didn’t have this problem.