Your coffee bar program still uses the old format

Your program in the coffee bar was never updated after the health club switched banks. It's still doing what it always did: it's still creating files in the old format.

That old format wrote out the price and the credit card the other way round, which meant when your program wrote out a record like this:

So that's a donut. Better write Credit Card... then Price... then Description.

The ¿vedi-fc tard number

5079142874628151

0000150

DONUT

Pestv-ipt"

The new bank read the record like this:

Messed up ûredVt tard »umb^ the bank tho^Wtvt was take.

5079142

8746281510000150

^ But at least the ^ description's OK.

DONUT

This is suspicious... $50,000 for a donut Does not compute... Fake < Q 0 credit card information! Security! Security!!

So it's not that somebody broke into your program and changed it. No, it's the exact opposite. Your code never picked up the change that was made to the gym program in order to support the new format.

This is suspicious... $50,000 for a donut Does not compute... Fake < Q 0 credit card information! Security! Security!!

What should you do to fix it? What shouldn't you do?

don't copy, share

Was this article helpful?

0 0

Post a comment