4 ms·
There are. Yes. But the previous poster seems to imply they have NEVER seen code written like that that would be improved by making it a pure function that retu
by boxed 3y ago
There are. Yes. But the previous poster seems to imply they have NEVER seen code written like that that would be improved by making it a pure function that returns a value for the caller to assign. Never? That seems unlikely to me. Unless they've only worked with really really amazing programmers. Even then it seems unlikely.