Hacker News new | ask | show | jobs
by cobaltblue 3796 days ago
The only one who knows if the input is needed anymore is the caller, not all callers will agree, so it's bad form to let the called function decide automatically unless it's very clearly marked as a mutating, list-destroying function.