31 likes
·
381 reads
7 comments
Great content 🙌
Amazing🏆
Interesting, implementation of pattern matching for tuples and records in TypeScript.
The way shown of handling tuples and enabling matching multiple values at once, and by handling records 💯
Would love to view more in depth functionality similar to this.
Hey, thanks for the feedback. I am glad you find this interesting. Definitely gives me motivation to keep coming up with more stuff like this ❤️
TS is great, i am thinking of switching to JS/TS world.
Just sharing here, I pretty much like this pattern matching. Using it a lot in my previous place
github.com/gvergnaud/ts-pattern
Nice write up btw!
Hey, thanks for sharing. The lib looks amazing, I researched to see what implementations are already in the field and this is a great example! I love using Functional Programming libs, in my previous workplace we used Ramda, was fun to work with.