HN user

codewritero

23 karma
Posts0
Comments8
View on HN
No posts found.

I love to see people advocating for better protocols and standards but seeing the title I expected the author to present something which would be better in the sense of supporting the same or more use cases with better efficiency and/or ergonomics and I don't think that protobuf does that.

Protobuf has advantages, but is missing support for a tons of use cases where JSON thrives due to the strict schema requirement.

A much stronger argument could be made for CBOR as a replacement for JSON for most use cases. CBOR has the same schema flexibility as JSON but has a more concise encoding.

Analog clocks mostly don't have the problem the author is complaining about since most minute hands move once per second and you can easily see (depending on your eyesight and distance to the clock) that the minute is partially consumed.

I agree though that this is a downside to digital clocks which don't show seconds, though whether the best fix is to round instead of averaging is hard to say.