I’ve heard it said that it only exists as a word so that there can also be “offboarding” when people are let go. I do not have a strong opinion about this.
Units aren't clear from a callsite, though. That's the point she is making: nobody can tell if `credit_account(123)` is crediting $1.23 or $123. In a strongly-typed world if `credit_account` took cents and the called passed dollars they'd have to explicitly cast it along the lines of `credit_account(to_cents(123))`.
(Also worth noting: never use a float to represent dollars and cents (or whatever currency) amounts because floating point precision will get you.)
10 comments
[ 3.0 ms ] story [ 32.3 ms ] threadCurious - why is "onboarding" an infernal-name?
(Also worth noting: never use a float to represent dollars and cents (or whatever currency) amounts because floating point precision will get you.)