3 ms·
> The point is that there's often no way way to express "I want side effects" in declarative tools, and the number of side effects that might be useful is vast.
by eru 2y ago
> The point is that there's often no way way to express "I want side effects" in declarative tools, and the number of side effects that might be useful is vast.
Shake (https://shakebuild.com/ https://shakebuild.com/) is pretty good about letting you specify that a specific step produces multiple artifacts.
I suspect Nix can do the same?
> Some other systems (e.g. bazel/blaze comes to mind) actively try to hide side effects like stdout.
Yes, blaze isn't all that great. You can tell, because Google folks check in generated artifacts into their repositories, instead of wrestling with getting blaze to build them.