4 ms·
> I sent a message to my friend, "Cracked it at last. It was the letter 'E'." Funny how the simplest, tiniest bugs are often the hardest to find. Just this mor
by thedanbob 3y ago
> I sent a message to my friend, "Cracked it at last. It was the letter 'E'."
Funny how the simplest, tiniest bugs are often the hardest to find. Just this morning I burned an hour or two hunting down an off-by-one error. Turns out it was an "index + 1" that I had forgotten to change when I refactored (facepalm).
- deredede 3y agoAs the saying goes, there are two hard problems in computer science: cache invalidation, naming things, and off-by-one errors.
- ohthatsnotright 3y agoYou forgot Dates, Times and Timezones
- wildzzz 3y agoTimezones: if you operate my code across timezones, you're wrong. Date and time: %Y%m%d_%H%M%S. Don't you dare ask for it to be shown any other way.
- Robin_Message 3y agoThree ha you missed out rd problems;concurrency.