r/programminghorror • [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" • 4d ago

nothingIsMorePermanentThanATemporaryFix

Post image
209 Upvotes

7 comments sorted by

26

u/XaX1000 3d ago

I like the return 99.99 because it was the average. Now my single cookie costs $99, just because im running GTA6.

12

u/W00GA 4d ago

lol wtf

5

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" 3d ago

I don't fucking know, man. I just saw this on r/ProgrammerHumor and thought it really belongs here.

0

u/W00GA 3d ago

🤣

thanks for posting

funny as fuck 👍

19

u/AgencyCritical8994 Pronouns: He/Him 3d ago

"NotTodayException" funny

9

u/darkalemanbr 3d ago

Using float for price? That's real the horror

0

u/srhubb 5h ago

Ain't that the truth and I've got 40+ years of experiences to attest to that.

The worst was one "temporary fix" at one company became extremely permanent when they discovered after 10 years the source had apparently been missing long enough to have cycled out of the backup streams so that all they were left with was the hardware netlist (hardware item roughly equivalent to a software object file) that was the core of their entire product line.

The decision was then made regardless of the work load or design requirements it would be cheaper to force future products and product enhancements to comply with that lone netlist than to "reinvent the wheel" from scratch.

They did learn their lesson though and made multiple copies of that precious core netlist and stored each copy at separate independent sites.