Better composability and abstraction, see for example how you can configure a process in https://devenv.sh/services/ that has first-class support for development environments using Nix.
No need to use containers too, which bring cognitive/workflow overhead.