re: Pattern-Match your JavaScript with Z VIEW POST


Very interesting, I would use it mostly to do validation. Looking forward to see what it becomes in the future.


Yes, I think the type-checking is the most practical feature of it, if it's exhaustive it could prevent many typical JavaScript bugs :)


Absolutely agree, I use Joi but it still seems not "natural enough" for me, always thought Javascript diserved something better. Here you go :)


Yeah, in functional languages it usually replaces conditionals but javascript has a plethora of them. This is super cool though.

code of conduct - report abuse