Y
Hacker News
new
|
ask
|
show
|
jobs
by
Arkadir
4424 days ago
I would argue that functions have no business performing global side-effects in the first place --- these things are better expressed as state encapsulators (such as objects) anyway.