Skip Navigation

Parse, don’t validate

Hacker News @lemmy.smeargle.fans

Parse, Don't Validate

5 0
Programming @programming.dev

Parse, don’t validate

92 6
11 comments
  • Hey I had this post in mind just yesterday when I was working on some Mastodon client code to show comments on my static-site blog. Typescript is especially well-suited for deriving types from parsers. I also enjoyed brushing up on how to use JSDoc annotations and ES modules to publish what is effectively Typescript that runs in the browser without a build step.

11 comments