If you were design the worst possible file format, one which maximizes the number of bugs in its parsers, what features would it include?

Let me start:
Length-prefixed everything. Containers (lists, dicts, etc) have a length field in bytes, but all the items inside them also have their own length fields.

@wolf480pl

(It worth noticing that I actually did something like this, somewhere... and they worked like a charm)

@Shamar Microsoft did that too with Windows Registry.

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!