3 ms·
There are actually only two hard problems in computer science: 0) Cache invalidation 1) Naming things 5) Asynchronous callbacks 2) Off-by-one errors 3) Sco
by airstrike 4y ago
There are actually only two hard problems in computer science:
0) Cache invalidation
1) Naming things
5) Asynchronous callbacks
2) Off-by-one errors
3) Scope creep
6) Bounds checking
- raverbashing 4y agoYou forgot the 'Segmentation Fault' at the last line
- wildcow 4y agoIt is on the list, but was never written to stdout because of a NULL pointer exception.
- marssaxman 4y agoHaven't seen that variant before! Thanks.
- ilyt 4y agoasynchronous callbacks are more of "wrong solution" than hard problem...
- Dylan16807 4y agoBounds checking as separate from off-by-one just means you stop using C arrays. That's not hard. And why point at callbacks specifically? And scope creep is not a computer science problem; it's easy to avoid if people decide to avoid it. So this list is too bloated for the joke to work well, I think. Even before we talk about how off-by-one gets ruined this way.
- latchkey 4y ago7) Yoda logic