4 ms·
don't you end up with functions doing lots of state/variable mutation (within the function)? Good question. This is true, but this is a programming language bu
by quadcore 7y ago
don't you end up with functions doing lots of state/variable mutation (within the function)?
Good question. This is true, but this is a programming language bug. In some programming language you can write the equivalent of return if... or return for.... Also note that those intermediate variables add a lot in expressiveness (you're computing result or screensize etc). The mutation is unfortunate indeed but a programming language bug.