Hacker News new | ask | show | jobs
by munificent 1035 days ago
You're welcome.

The real challenge is that pictures like this only work for simple two-element tuples. Once you have more fields in the tuple, or nested destructuring, the manifold of the value space the patterns have to cover quickly gets into higher dimensions that are basically impossible to visualize.

1 comments

Yeah but you helped me over the initial hump. Much easier to get to the more involved cases now.