News for hackers. Stuff that matters.
Re:JSON as configuration files: please don’t (2016) by kazinator on Sunday April 14, 2019 @07:35PM (#19662321)
There is no need for optional attributes in the first place, because you can always just do this:

  <thing>
     <optattr>42</optattr>
     ...
  </thing>
insteadof

  <thing optattr="42">
    ...
  </thing>
Attributes exist in order to create a more compact syntax within XML/HTML tags, in ironic recognition of these notations being horribly verbose.

There are no comments on this comment yet.