News for hackers. Stuff that matters.
Re:Some items from my “reliability list” by xsmasher on Friday July 26, 2019 @02:58PM (#20537402)
#1 and #3 can be solved by using TypeScript types to define the schema of your JSON.

IMO they're readable enough to serve #2 too.

Before someone mentions "JSON schema" - I've tried to use them, and they're difficult to write and impossible to read. Reading/writing TypeScript types are a dream in comparison.

There are no comments on this comment yet.