3 ms·
Tbh I don't understand why they created a new programming language. Why not use something like Starlark or even just sandboxed JavaScript?
by IshKebab 3y ago
Tbh I don't understand why they created a new programming language. Why not use something like Starlark or even just sandboxed JavaScript?
- TillE 3y agoIt's the usual argument for any domain-specific language. Personally I loathe DSLs unless you genuinely need something really fast and really simple. Otherwise please just pick something off the shelf and save everyone the headache.
- takeda 3y agoWell, Guix started as Nix with established language, and that didn't really made it better. The Nix language is functional and lazily evaluated, it closely matches how Nix works builds packages, which basically makes it less verbose. Even if they used python (or python like language like starlark), and then proceed to build an abstractions on top of it, barely documenting the function. Leaving old ones with the new ones, you would still be confused and frustrated needing to look at the source code.