Hi -

On 8/12/2020 1:34 AM, Martin Björklund wrote:
...
I think that comments should be treated as insignificant whitespace.

Comments in YANG are not tied to a specific statement, so it is
difficult to e.g. translate them to YIN properly.  For example to
which statement does the comment below belong?

   container foo {
      container bar; /* beware */ container baz;
   }

For some reason this whole discussion of errorless round-trip conversions
generated by flawless tools and inconsequential editorial changes made
by infallible editors reminds me of an episode at a company long ago
in which a programmer received a "commendation" for "most bugs
introduced by fixing a comment."  (I won't name names.)   From a
configuration management perspective, what's the point of introducing
a revision identification scheme if it is not used?

Randy

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to