3 ms·
> The two hardest problems are naming, cache invalidation, and off-by-one errors. Aside: the joke I've heard was always naming, resource management, and off-by
by dragontamer 5y ago
> The two hardest problems are naming, cache invalidation, and off-by-one errors.
Aside: the joke I've heard was always naming, resource management, and off-by-one errors.
Resource management would include cache invalidation, malloc/free, open()/close(), accept()/close(), dup()/close(), garbage collection, etc. etc.
- qsort 5y agoI'm familiar with your parent's variant ("cache invalidation") as well. https://skeptics.stackexchange.com/questions/19836/has-phil-karlton-ever-said-there-are-only-two-hard-things-in-computer-science#39178 https://skeptics.stackexchange.com/questions/19836/has-phil-...
- olau 5y agoIf we're going to generalize this old saying, let me point out that naming is just a specific instance of resource management, name space management. So I guess from this perspective, there's really only one hard problem in computer science: resource management and off-by-one errors.