3 ms·
YTT is pretty nice too and basically glues star lark and yaml together.
by AlphaSite 5y ago
YTT is pretty nice too and basically glues star lark and yaml together.
- sofixa 5y agovia comments! YAML is an abomination in itself ( spaces for logic?!), the last thing it needed was comments for extra logic.
- xdennis 5y agoProper spacing makes code readable. Forcing it is a good thing.
- guipsp 5y agoIt's a good thing, until you ask a non-technical user to edit the config file. Then they become confused because a tab is visually, but not functionally equivalent to a number of spaces.
- erinnh 5y agoI wouldnt ask a non-technical person to write any of these config files. If I want non-technical people to configure something I need to write a GUI for self-serving.
- sofixa 5y agoIndeed, it does, when done via something like go fmt. But in the case of YAML, a pedantic level of "proper spacing" is used for logic. 2 or 3 spaces shouldn't change the meaning and order of things
- AlphaSite 5y agoNot actually via comments, they just use the same syntax, im pretty sure the pretemplated code is not actually valid yaml.