- At the moment there is a top-level "node" object which contains
various random functions and objects which do not appear in external
libraries.
- A "process" object which is also the global scope (like "window" in
browser js) it has a couple of methods and emits some events like
"exit" and signals.
People like the sound of "process". "process.exit()" has a certain
nice ring to it. However any method added to it is necessarily then a
global object - which pollutes the global namespace.
To correct this I propose the following:
1. disconnect "process" from the global scope. it will become it's own object.
2. move everything in "node" into "process", remove the "node" object
completely.
3. add a new global object reference called "window" whose members
will only be "process" and "require".
Thoughts?