|
|
|
|
|
by MichaelGG
4627 days ago
|
|
That sounds smart on first pass, but doesn't really help. If people were going to use /* @annotations / and instead put them in keys, either way, the other side gets a document that isn't the one intended*. So regardless if it parses or not, it doesn't really help. |
|
If you go with the first option, you'll inevitably run into a scenario where you have a document like this contrived example:
And your tool goes off and increments the version number, so you end up with: and now your comment is a lie.If you go with the second option, you destroy all comments whenever you write data back to the file, so they can be deemed temporary at best.
What benefit do you actually get from having comments in either scenario?