• abhibeckert@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    8 months ago

    For edge cases where you need the power of a programming language in your config system, use something like PKL.

    • Dark Arc@social.packetloss.gg
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      Okay, that’s pretty cool not going to lie. Granted, I’m not entirely sold on the idea of having a config format that’s aimed at generating other config formats.

      That feels like (in most cases) a recipe for things getting out of sync between the latest version of the PKL and e.g. the JSON