Re: Reader flags to indicate different kinds of files Marc Nieper-Wißkirchen 29 May 2020 17:51 UTC

Am Fr., 29. Mai 2020 um 19:10 Uhr schrieb Lassi Kortela <xxxxxx@lassi.io>:

> > We are talking about meta-information here; it should not be
> > necessarily part of the actual data. Comments are therefore a good
> > place to put them.
>
> I disaree: comments are meant for human-readable text whose contents are
> not interpreted by computer. Metadata on the other hand tends to be
> useful to parse by computer. Magic comments make parsing and other
> tooling needlessly difficult and brittle.

Comment are interpreted by computers. At least they are parsed. :)

Metadata wouldn't be metadata if they appeared in the actual data, so
they have to appear out of band.

I see your point about the "#;" vs. ";" comment syntax, though.