Special variables: Difference between revisions
Content deleted Content added
Line 1,160:
* false
* nil
Technically, these could be redefined, but the system would not work if
Global binding names are returned by <lang smalltalk>Smalltalk keys</lang>
Things like the shell environment, command line argument, version numbers etc. are usually not exposed via globals, but instead held in private class variables (static variables), which can be accessed via getter messages (which, by the way, makes it easier to insert a dialect compatibility layer).
Line 1,169:
* shared pool variables - ditto
* all other variables (incl. instance variables) - lowercase first
* method names - lowercase first; except for constant/parameter getters, which are sometimes uc-first
=={{header|Tcl}}==
|