4 ms·
thanks tons for that amazing comment. Helped me tremendously. Illustrations are incredibly helpful in cases like this.
by tomcam 3y ago
thanks tons for that amazing comment. Helped me tremendously. Illustrations are incredibly helpful in cases like this.
- munificent 3y agoYou'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.
- tomcam 3y agoYeah but you helped me over the initial hump. Much easier to get to the more involved cases now.