4 ms·
I always thought the quote was that the two difficult problems are cache invalidation, naming things, and off by one errors.
by mstade 10y ago
I always thought the quote was that the two difficult problems are cache invalidation, naming things, and off by one errors.
- joncrocks 10y agohttps://martinfowler.com/bliki/TwoHardThings.html https://martinfowler.com/bliki/TwoHardThings.html There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton But yes, there are lots of other popular variations :-)
- mstade 10y agoHaha, that distributed systems tweet is excellent – thanks for sharing! :o) There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery
- mayoff 10y agoThe problem with this derivative version of the quote is that off-by-one errors are not hard things.
- Wildgoose 10y agoThe point of the off-by-one error is that it exposes an assumption - did you start counting at zero or at one?