Hacker News new | ask | show | jobs
by tomcam 1036 days ago
thanks tons for that amazing comment. Helped me tremendously. Illustrations are incredibly helpful in cases like this.
1 comments

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.

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