[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] [OT] Defensive Code matters
- Subject: [ale] [OT] Defensive Code matters
- From: leamhall at gmail.com (leam hall)
- Date: Thu, 23 Mar 2017 09:47:19 -0400
I paid an invoice early this morning with PayPal. Unfortunately I typo'd
the zip code and the form reset saying I needed to re-enter. That's fine, I
typed slowly and got it right the second time.
However, the application encumbered the full amount both times,
signficantly reducing my PayPal balance. I've contacted the invoice company
and the vendor, so that's not as much of a problem yet.
When you code, do so defensively. In this sort of case gas stations will
often debit USD 1 to ensure the transaction is possible, and then do the
rest of it later. Right now the invoice processor has given me a bad feel
for their coding capabilities. They may be smart, but are they thinking?
Leam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20170323/3e465e30/attachment.html>