Edit: typo
332 karma · joined November 4, 2023
Edit: typo
The thing with (real) stories is they relate facts in a structured and somewhat neutral way (causality). This allows you, the reader, to learn things that are beyond the author's point. Essays, on the other hand, don't allow that as authors can (should) always leave out everything that does not support their point without compromising the text.
One example he gives is computing the maximum element in a sequence of numbers. This is something trivial to implement but you need to decide what to do with the obvious edge case: empty sequences. One solution is to return some kind of error or exception, but another is to extend what we mean by the largest element in a sequence the way mathematicians typically do. Indeed, the maximum function can be extended for empty sequences by letting max([]) := -infinity, the same way empty sums are often defined as 0, and empty products as 1. The alleged benefit of following the second approach is that it should lead to simpler code/algorithms, but it also requires more upfront thinking.
It turns out that when you view things that way, pixels as points continues to make sense.