3 ms·
> Indentation is used to indicate the hierarchy of the data After dealing with 500+ line kubernetes configurations, this is a bad idea.
by snarfy 6y ago
> Indentation is used to indicate the hierarchy of the data
After dealing with 500+ line kubernetes configurations, this is a bad idea.
- Chakazul 6y agoIndentation by tab is good for shallow data or code e.g. Python. Space is bad. For deeper levels, I'd go for a visible, countable symbol Level 1 .Level 2 ..Level 3
- yunruse 6y agoThis format seems to support one-space indents, so you could use an editor which highlights spaces easily and set indent level to 1 for visibility. The alternative is unfriendly config or another method of doing the same thing, and both are antithetical to having a simple data format.