Hacker News new | ask | show | jobs
by mrguyorama 927 days ago
Some programmer wrote that statement in the code, wrote the function that was given a tip amount and a driver profile and reduced the tip amount to give the driver under certain circumstances. Someone cut that ticket, brought it up in a grooming session, people asked and answered questions about exactly when a driver's pay should be docked. Other devs probably approved the PR. I bet it even has a clear and concise comment explaining the math and the business purpose. I bet there's a unit test about "do_not_overpay_driver_with_tip". Jesus

I bet they all came onto HN and bitched about taxes and Unions after.