All Questions
2 questions
18
votes
2
answers
562
views
Garbage collection for lexical closures
Mathematica is known not to garbage collect temporary variables in certain cases. I am particularly interested in the very useful programming pattern known as a lexical closure. A somewhat trivial ...
1
vote
0
answers
191
views
Should I Remove the initial symbols of Module?
Often we use Module to construct complicate function. Consider that Module create new vars every time we run the function, should I remove the initial values at the end of Module-function?Or should I ...