Hacker News new | ask | show | jobs
by levodelellis 497 days ago
I had a feeling someone would bring this up (I'm the author.) Your state really shouldn't be depending on IDs or handles from a counter function. I'm not sure if most people can agree with what is considered using a global variable which is why I wanted to define it near the start
1 comments

> I'm not sure if most people can agree with what is considered using a global variable

Sure, for example it turns out that by "global" you mean "thread local" and I expect lots of people don't agree with you about that.