Hacker News new | ask | show | jobs
by guelo 3648 days ago
That's why all your functions should not have a side effect if at all possible. And if they do it should be stated in the function's name. Maybe something like validateAndLogIt().