3 ms·
> There are only two hard things in Computer Science: cache invalidation and naming thing. I've always heard it as "There are only two hard things in Computer
by breakingcups 6y ago
> There are only two hard things in Computer Science: cache invalidation and naming thing.
I've always heard it as "There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors."
- darkerside 6y agoNitpick but I've always preferred to say it as "naming things and cache invalidation" in that order, which IMO emphasizes the irony of creating labels for things and then needing to forget about them.
- deleted 6y ago[deleted]
- timhwang21 6y ago"Cache invalidation, naming things and off-by-one errors. And cache invalidation."
- GuB-42 6y agoDon't race forget conditions about.
- asimpletune 6y agoWow that’s pretty funny. I’m going to use that someday.
- murph-almighty 6y agoThat's clever! I think off-by-one errors got a bit easier once we started normalizing loops like `for cat in cats`, but that doesn't really fly when you need to do multiple array accesses while iterating through the loop, so I suppose they're here to stay...