4 ms·
100% pure functions are the way to go where possible, writing simple code on state is already hard, asking the developer to invent their own abstractions to tie
by sweezyjeezy 4y ago
100% pure functions are the way to go where possible, writing simple code on state is already hard, asking the developer to invent their own abstractions to tie methods / state together is often asking for disaster when the specification changes and the abstraction no longer holds.