• synae[he/him]@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    This is definitely a failing of yaml. Though, I feel that generally it’s the sort of thing you learn once the hard way, then it sticks with you pretty well.

    Also I’m glad there are more anti-toml folks are out there, feels like I’m taking crazy pills when people say it is “simple” and “elegant”. IMO it’s uglier than old-school ini format - at least it’s more strictly defined but that doesn’t really sway me to convert

    • AVincentInSpace
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Which is better for structured data?

      • elegant, human readable, indentation sensitive language that’s great for deep nesting but has some weird idiosyncrasies with some dynamically typed parsers being too smart for their own good
      • glorified ini

      The choice is clear

    • ApexHunter@lemmy.ml
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      If by simple you mean “can’t count from 1 to 10 in a loop” and by elegant you mean “easier to understand than a one line perl script” then sure…