I have been programming since like 1985 and I just realized this minute that a "corner case" is, like, where an edge case hits another edge case and gets even weirder. I've been using "edge case" and "corner case" as synonyms without ever thinking about it.

@zarfeblong The analogy with geometry goes farther, possibly without becoming completely silly. We can think about edge cases as surfaces (loosely speaking) in some high dimensional program state space. In the arrangement of these surfaces there is then "faces" of varying dimension, with the corner cases have as many edge cases intersecting as state variables.

A Mastodon instance for maths people. The kind of people who make $\pi z^2 \times a$ jokes.

Use $ and $ for inline LaTeX, and $ and $ for display mode.