you are viewing a single comment's thread
view the rest of the comments
[–] 21 points 9 months ago (4 children)

Ok, yaml is fair game for a LLM. Whitespace sensitive language should die in a fire, markup or otherwise.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 9 months ago (2 children)
  • [–] 18 points 9 months ago* (1 child)

    Because whitespace sensitivity makes it very easy to make a whole bunch of annoying mistakes when shuffling code around, or copying it from one source to another (from text in one application to the editor in your ide for example). I find it supremely unpleasant to work with. Looking kinda a little bit slightly messed up should not be a critical syntax error that breaks the whole code.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 9 months ago

    I agree. I think ansible is great in principle, but the documentation is severely lacking. Like it'll tell you to set a value, but not whether it's supposed to be in yaml, environment, or something else. And if it's in yaml, it doesn't tell you the required context to make it valid. But when someone has taken all the documentation, all the tutorials, the articles, the example code, working code, and stack overflow answers and put them all into a blender, often a useful answer comes out.

  • source
  • parent