News for hackers. Stuff that matters.
Re:Protobuf-ES: The Protocol Buffers TypeScript/JavaScript r... by fuzzy2 on Monday October 31, 2022 @08:51AM (#33405026)
The problem I see with JSON is its limited set of “native” types. I really wish it had specified support for proper numeric types (int, uint, various widths) and not just doubles. A timestamp type would be great as well.

What I really like about Protocol Buffers is that you must write a schema to get started. No more JSON.stringify anything. Everything else sucks though.

Re:Protobuf-ES: The Protocol Buffers TypeScript/JavaScript r... by robertlagrant on Monday October 31, 2022 @09:04AM (#33405166)
I think we could remove about a quarter of all Javascript programming time if JSON had a native Date type.