4 ms·
A better reason to not return void is that it will make you think more about immutability and side-effects. Not returning void allow you to reduce the hidden st
by rchaves 5y ago
A better reason to not return void is that it will make you think more about immutability and side-effects. Not returning void allow you to reduce the hidden state changes or at least to manage them better