by jopsen · 1y ago · 0 comments
Now it feels like writing a validator is extremely complicated.
IMO, the built-in vocabularies were enough, and keeping it simple would provide more value.
JSON as a format didn't win because it supported binary number encoding or could be extended with custom data types -- but rather because it couldn't.
I also often make heavy use of schema based editors to auto-generate UI.
Perhaps I'd feel differently if I ever had to write a validator myself, but they seem to exist in all the popular languages as is.