2 ms·
Pure functions have one problem - they don't have state, and sometimes you need state. What's needed is pure functions for logic, and dumb objects holding data
by wisty 17y ago
Pure functions have one problem - they don't have state, and sometimes you need state.
What's needed is pure functions for logic, and dumb objects holding data, and function pointers.