News for hackers. Stuff that matters.
Re:Twenty five thousand dollars of funny money by hamandcheese on Saturday December 03, 2022 @08:29PM (#33849570)
If you're the type of moron who will write:

  chargeCustomer(amountDollars: valueInCents)
I have little faith that types would help you. You could simply do:

  chargeCustomer(amount: Dollars.from_int(valueInCents))
And create the same bug.

Positional arguments is just as big an evil as non-typed units, IMO.

There are no comments on this comment yet.