logoalt Hacker News

lioeterstoday at 11:30 AM0 repliesview on HN

> process.env? It is a global map

That's exactly why, access to global mutable state should be limited to as small a surface area as possible, so 99% of code can be locally deterministic and side-effect free, only using values that are passed into it. That makes testing easier too.