I’ve got a small build system and the first thing it does is nuke PATH to empty. It’s glorious. No more grabbing random shit from a big blob with untracked dependencies that varies wildly by system!
I could easily live my entire life without environment variables. They’re just a fundamentally bad idea. Every program that foolishly uses environment variables can be replaced by a better program that takes a config file or arglist.
10 processes can have completely different set of values for the same environment variables, because they are in their own environments, and apparently, that's useful.
There are foot guns, and there are unintentional consequences of implementation and design details. This is why we patch, improve and rewrite our software over time. To iron out these kinks.
Fire is also have a tendency to cause collateral damage. So use both fire and environment variables responsibly, and world will be a better place.
Kill it all with fire.