▲ 33 ▼ What is the best file format for configuration file? (programming.dev) submitted 3 years ago by likeaduck@programming.dev to c/technology@lemmy.ml 46 comments fedilink hide all child comments cross-posted from: https://programming.dev/post/1743099 .yaml, .toml, etc?
[–] BitSound@lemmy.world 0 points 3 years ago (1 child) Dhall permalink fedilink source hideshow 2 child comments replies: [–] JonnyRobbie@lemmy.world 2 points 3 years ago (1 child) Meh, at that point, you may as well use python. permalink fedilink source parent hideshow 2 child comments replies: [–] BitSound@lemmy.world 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. permalink fedilink source parent
[–] JonnyRobbie@lemmy.world 2 points 3 years ago (1 child) Meh, at that point, you may as well use python. permalink fedilink source parent hideshow 2 child comments replies: [–] BitSound@lemmy.world 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. permalink fedilink source parent
[–] BitSound@lemmy.world 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. permalink fedilink source parent