Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
roenxi
on Feb 4, 2025
|
parent
|
context
|
favorite
| on:
Global variables are not the problem
> The issue is that the enclosed state of counter is exposed globally and can be accessed without synchronization.
Maybe throw up a code example? I don't follow what you're getting at.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Maybe throw up a code example? I don't follow what you're getting at.