comagoosie
Joined 9 years ago
Karma
212
Submissions
23
Member since
Nov 22
https://nickb.dev
View on Hacker NewsJoined 9 years ago
Very handy to update serde data structure and see all the typescript errors that after recompiling.
Equality can be problematic too. Imagine an Extension type, one could compare it with ".mp4" or "mp4", which one is correct?
Opaque types (that extend from `unknown` instead of T) work around these problems by forcing users through selector functions.
It's not easy to work with proprietary formats, but they've both become pretty popular, so I would 100% recommend sinking more time into this project as long as it scratches your itch. Gamers are always looking for more stats and deeper insights