Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
grandempire
on Feb 3, 2025
|
parent
|
context
|
favorite
| on:
Global variables are not the problem
I agree that dependent sequences of events, coordinated through a global are bad. But there are other usages which are not error prone. For example an allocation, logger, readonly settings, or a cache.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: