[racket] nested require modules and global variable

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Mon Dec 19 07:55:34 EST 2011

On Sunday, December 18, 2011, Niitsuma Hirotaka <hirotaka.niitsuma at gmail.com>
wrote:
> Thank you.
> I clearly understand.
>
> By the way,
> Are there standard way exporting global variable from some module ?


I usually avoid global name exports unless the name stands for a constant
value.  Otherwise, I may export a parameter or use setters and getters as
you've done.  I try to avoid exposing my module's global variables.  It may
be worthwhile to hear how other people organize their code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111219/7454c998/attachment.html>

Posted on the users mailing list.