[plt-scheme] Exposing non-exported module variable bindings.

From: Richard C. Cobbe (cobbe at ccs.neu.edu)
Date: Wed Dec 17 09:20:29 EST 2003

Lo, on Wednesday, December 17, Dor Kleiman did write:

> Why would you want to expose those variables anyway?

White-box testing.

> If for using them in code, it sounds quite wrong to do it.
> If for debugging, they are exposed anyway when using the module
> language...

I agree with the first; I'm not quite sure what you mean by the second.

This situation is just an instance of the general problem that one of
the costs associated with increased abstraction and firmly-enforced
abstraction boundaries is a lack of testability.


Posted on the users mailing list.