
The perils of sharing state when writing tests
Sharing state is always a bad idea. Functional programmers have been using immutability for a long time now, completely avoiding the perils this can bring. For all the others that for one reason or another keep going on with the good ol’ OOP, this is an hard lesson that needs...
2019, Oct 22 — 4 minute read