2 ms·
To quote something from Pragmatic Programmer (1999): "Functions should act like a contract. Functions should do no more and no less than what they're expected
by muzani 7y ago
To quote something from Pragmatic Programmer (1999):
"Functions should act like a contract. Functions should do no more and no less than what they're expected to. If they fail to meet the contract, they should report it."