HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by jslaby | Hacker News Reader
Parent
Full thread
jslaby
·
or with a static variable
View on HN
Thiez
·
Congratulations, your program is now thread-unsafe because you thought using a temporary variable is expensive :-p using mutable static variables is a terrible idea in most situations.
Reply on news.ycombinator.com