Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>There have been many times when in order to really understand a YAML file (full of anchors and aliases, etc) I've had to turn it into JSON. This is ridiculous.

There's no reason why editor couldn't inline those things in YAML to help see what's going on locally. I can't code without code navigation and stuff like type hints for inferred types.

As YAML gets used for more complex stuff I think the tooling needs to catch up.



> There's no reason why editor couldn't inline those things in YAML to help see what's going on locally.

There's no reasons why an editor couldn't present either YAML style (block style or the JSON-like flow style) that the user prefers, and save in whichever one is preferred for storage.


The multitude of IDE plugins and editor modes cannot (and my God should not) solve for the fundamental weaknesses of a data specification format.


Referencing common data is not a weakness, but it does introduce tradeoffs - I'd take that over having to do a "have I updated every instance" whack a mole.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: