Why does Mathematica choose the mechanism that makes the global variable a
exist without having been created here while parsing?
In
f := Module[{a}, a;]
In
?a
Out
Global`a
I don't understand why Mathematica goes in the way that the global variable a
wasis declared and existsnot removed.
Maybe there are its own purposes or intentions of why Mathematica is constructed in that way.
Sometimes the way Mathematica works feels very confusing to me.
Thank you. :)