My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Robert

31 likes

·

381 reads

7 comments

Sandeep Panda
Sandeep Panda
Aug 1, 2023

Great content 🙌

1
·
Mirjabbar Badalov
Mirjabbar Badalov
Aug 1, 2023

Amazing🏆

1
·
Venkatasai Kadamati
Venkatasai Kadamati
Aug 1, 2023

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.

·
·1 reply
Robert
Robert
Author
·Aug 2, 2023

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 ❤️

·
Alex Barhaey
Alex Barhaey
Aug 3, 2023

TS is great, i am thinking of switching to JS/TS world.

·
Phakorn Kiong
Phakorn Kiong
Aug 21, 2023

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!

·
·1 reply
Robert
Robert
Author
·Aug 23, 2023

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.

·