Useability is not good
Useability is not good
Posted Dec 17, 2025 13:26 UTC (Wed) by pizza (subscriber, #46)In reply to: Useability is not good by taladar
Parent article: Conill: Rethinking sudo with object capabilities
> Comments can trivially be added to a JSON file format by specifying that any object can have a "comment" key or something along those lines.
That makes said comments _data_, not _documentation_.
> The point was that it would make sense from a security perspective to have a well-tested parser instead of a completely custom one and ideally a file format that doesn't have 27 types of strings like YAML.
Comments in Javascript (ie the 'J' in 'JSON') are already well-defined. There was no need to reinvent any wheel here, and whether or not the syntax supports comments is orthogonal to how well-tested it is.
