7 ms·
Very strongly agreeing with this assessment and hoping Colin will come to agree. A zero-argument function is either a constant, or a side-effect. Given we don’
by Ezku 7y ago
Very strongly agreeing with this assessment and hoping Colin will come to agree.
A zero-argument function is either a constant, or a side-effect. Given we don’t want a side-effect, exposing a constant instead of an effectful-looking function is preferable.