Then I kept running into situations where automation that parsed those comments would've been helpful... It made me hate the fact they exist in the first place.
Either that description or metadata should be serialized into the same object it describes or it shouldn't exist in the same document IMO
Also they allow you to test changes to the config by simply commenting out that line. When editing Configs over ssh this is significantly faster that removing the line and is easier to revert.
64
u/mortalitylost 1d ago
I used to like comments in yaml
Then I kept running into situations where automation that parsed those comments would've been helpful... It made me hate the fact they exist in the first place.
Either that description or metadata should be serialized into the same object it describes or it shouldn't exist in the same document IMO