• JonnyRobbie@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    1 year ago

    Thie essentially boikls down to “quote yur shit”. Yes, it can be frustrating if a language superficially allows you to use unqoted strings with the promise that it will inteligently interprets that. It’s like parentheses in arithmetics. If you are not sure or if you are not competent in a language enough to predict the order of operations, use parentheses. The same with strings and quotes in yaml.

    • SorteKanin@feddit.dk
      link
      fedilink
      arrow-up
      1
      arrow-down
      3
      ·
      1 year ago

      … or just use another tool where you don’t even have to think about this problem.

      • RichieAdler 🇦🇷
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I get that JSON is intuitive and a huge improvement over XML, but I still find it verbose.