cross-posted from: https://programming.dev/post/1743099

.yaml, .toml, etc?

you are viewing a single comment's thread
view the rest of the comments
[–] 0 points 3 years ago (1 child)
  • [–] 2 points 3 years ago (1 child)

    Meh, at that point, you may as well use python.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 years ago

    I like Python and use it a lot, but Dhall has several guarantees that Python doesn't. If you hand someone clever a Python interpreter, they can and will find a way to run rm -rf / or what-have-you, no matter what safeguards you put in place. Dhall also guarantees that it will terminate, which is pretty useful if you're embedding it in something else. In Python you could pretty easily accidentally or purposefully get into a while True loop.

  • source
  • parent