News for hackers. Stuff that matters.
Re:Pattern Matching Custom Data Types in TypeScript by swissmanu on Saturday February 02, 2019 @05:04PM (#19066024)
i did an article about quite a similar solution approach some time ago: https://pattern-matching-with-typescript.alabor.me/

having real pattern matching built in to TS would be awesome. nice write up though!

Re:Pattern Matching Custom Data Types in TypeScript by alexsasharegan on Saturday February 02, 2019 @05:17PM (#19066116)
This article is totally on the same wavelength. I might have to link it as further reading on the subject. Any objections?
Re:Pattern Matching Custom Data Types in TypeScript by swissmanu on Sunday February 03, 2019 @05:48AM (#19068897)
sure! go ahead. thanks :-)