🐈 naming things is often called "the easiest problem in computer science" because you can just call it x or i or whatever
@lovegame cache invalidation is nearly as easy cause you can just always clear the cache before every read.
@lovegame anyone have a solution for off by one errors? :P

@demofox @lovegame I don't think they really exist

[edit: picture added because that's probably too obscure for anyone to get without it]

@demofox @lovegame i have 1 solution, no wait that's 0 solutions

@demofox @lovegame

Cant be off by one if you downgrade nullpointer exceptions too nullpointer warnings :))

@demofox @lovegame This is actually trivial. If you add two you won't be off by one.
@demofox @lovegame make every array one element longer than you think you need to