top | item 44759805

(no title)

ddejohn | 7 months ago

yep, the legacy codebase I maintain does a lot of this kind of stuff and has made it difficult to write unit tests in some cases due to all the code that runs at import and all the state we end up with

discuss

order

pbh101|7 months ago

The article addresses this.

ddejohn|7 months ago

I know, I'm just complaining about the mountain of code that does this at my company. And there is no fixing it using the article's approach or any other for that matter due to the sheer scale of the abuse.