4 ms·
No, because its not just about you. How can I as a developer know if a function I'm calling in C uses more than its inputs? That's the real issue.
by Psyonic 17y ago
No, because its not just about you. How can I as a developer know if a function I'm calling in C uses more than its inputs? That's the real issue.
- vidarh 17y agoExcept it hardly ever is an issue. I can't remember last time I came across a situation in any of the languages I use that support global variables where some function depended on some global variable without the docs making a huge fuss about it. It was certainly many years ago.
- cemerick 17y agoNone of this has to do with globals -- the key issue is accessibility of shared mutable state from within imperative functions. That is an inescapable constant outside of FP environments.