4 ms·
Twenty five thousand dollars of funny money
- schmudde 4y ago> They told us all about this during our first day or two of classes - the infernally-named "onboarding". Curious - why is "onboarding" an infernal-name?
- cranekam 4y agoInfernally. Not internally. Presumably the author doesn’t like the word.
- drewmassey 4y agoI’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.
- quantified 4y agoState the units clearly, always.
- cranekam 4y agoUnits 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.)
- quantified 4y agoYes, that's the point. Credit_account_cents() would be the name that states the units.
- rman666 4y agoGood story :-)
- solarkraft 4y agoNice anecdote, it seems like this would've been a nice place to work at: Lots of things done right.
- bigbillheck 4y agoIt was an ad-selling company, I'd be hating myself all day.
- deleted 4y ago[deleted]