←back to thread

134 points samuel246 | 7 comments | | HN request time: 0.961s | source | bottom
Show context
ckdot2 ◴[] No.44458190[source]
"I think now caching is probably best understood as a tool for making software simpler" - that's cute. Caching might be beneficial for many cases, but if it doesn't do one thing then this is simplifying software. There's that famous quote "There are only two hard things in Computer Science: cache invalidation and naming things.", and, sure, it's a bit ironical, but there's some truth in there.
replies(11): >>44458265 #>>44458365 #>>44458502 #>>44459091 #>>44459123 #>>44459372 #>>44459490 #>>44459654 #>>44459905 #>>44460039 #>>44460321 #
1. AdieuToLogic ◴[] No.44460039[source]
> There's that famous quote "There are only two hard things in Computer Science: cache invalidation and naming things.", and, sure, it's a bit ironical, but there's some truth in there.

The joke form of this quote goes along the lines of:

  There are only two hard things in Computer Science: cache 
  invalidation, naming things, and off-by-one errors.
:-D
replies(3): >>44461109 #>>44462642 #>>44464042 #
2. dcminter ◴[] No.44461109[source]
I rather like the snark of:

there's two hard problems in computer science: we only have one joke and it's not funny.

Apparently⁰ by Philip Scott Bowden¹

https://martinfowler.com/bliki/TwoHardThings.html

¹ https://x.com/pbowden/status/468855097879830528

replies(1): >>44467814 #
3. AndrewOMartin ◴[] No.44462642[source]
Which leads to

> I don't see what's so hard about DNS, it's just cache invalidation and naming things.

replies(2): >>44462857 #>>44462981 #
4. manyaoman ◴[] No.44462857[source]
... and avoiding off-by-one errors.
5. dcminter ◴[] No.44462981[source]
Oh that's gooood. Got a cite or is it yours?
6. SAI_Peregrinus ◴[] No.44464042[source]
My favorite variation only really works in text:

There are three hard problems in Computer Science:

1) Cache invalidation

2) Naming th3) Concurings

rency

4) Off-by-one errors

7. aorth ◴[] No.44467814[source]
Just remembered another one: there are 10 types of people in the world: those who understand binary and those who don't. :)