Clojush icon indicating copy to clipboard operation
Clojush copied to clipboard

Eliminate Side Effects When Loading Files

Open saulshanabrook opened this issue 9 years ago • 1 comments

When we try to run lein check or lein doc it raises a bunch of exceptions, because the instruction files modify global state and the problem files actually try to run the problems, when they are loaded.

To fix this, it might make sense to eliminate global state and remove side effects from loading files.

saulshanabrook avatar Oct 15 '15 13:10 saulshanabrook

This is also a problem with lein midje, since MIdje checks everything in /src and /test, and thus loads all those overlapping global doodads.

Vaguery avatar Oct 19 '15 23:10 Vaguery