←back to thread

32 points matt_d | 2 comments | | HN request time: 0.447s | source
Show context
orlp ◴[] No.45138254[source]
Every developer I've talked to has had the same experience with compilation caches as me: they're great. Until one day you waste a couple hours of your time chasing a bug caused by a stale cache. From that point on your trust is shattered, and there's always a little voice in the back of your head when debugging something which says "could this be caused by a stale cache?". And you turn it off again for peace of mind.
replies(3): >>45159702 #>>45159758 #>>45160578 #
1. Y_Y ◴[] No.45159758[source]
There are three hard problems in computer science, cache invalidation and naming things.
replies(1): >>45160231 #
2. aengelke ◴[] No.45160231[source]
Or rather: There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.

(source: https://martinfowler.com/bliki/TwoHardThings.html)