this post was submitted on 04 Apr 2024
972 points (97.5% liked)

Programmer Humor

20703 readers
1725 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] DrJenkem@lemmy.blugatch.tube 7 points 10 months ago (1 children)

No it would change the value of all past bills, future bills would still be correct.

[–] SchmidtGenetics@lemmy.world 0 points 10 months ago (1 children)

And anyone who looks at a past bill would see half price tenders.

[–] DrJenkem@lemmy.blugatch.tube 2 points 10 months ago* (last edited 10 months ago) (1 children)

No. The bill given to the customer would still show the correct amount.

And if anyone looked at previous bills from the backend, they would see normally priced chicken tenders. The total for the bill would be wrong though.

[–] SchmidtGenetics@lemmy.world -1 points 10 months ago* (last edited 10 months ago) (1 children)

Bill

2x orders chicken tenders $10 =20

Bill total $10 - 20/2 = 10…

Huh… I wonder what the issue is…..

[–] DrJenkem@lemmy.blugatch.tube 3 points 10 months ago

Yeah, obviously the issue can be discovered. My point is that it's not going to be immediately discovered by the cashier or a customer. It'll probably not get discovered until the accountant comes by and notices the discrepancy.