Scope modifiers: Difference between revisions
Content deleted Content added
→{{header|Common Lisp}}: global functions within LETs are rarely used. Replaced with local function. |
→{{header|Common Lisp}}: the term 'earmuffs' is not used in ANSI Common Lisp |
||
Line 200: | Line 200: | ||
There is some cockroach in my triangle!</pre> |
There is some cockroach in my triangle!</pre> |
||
The stars around <code>*bug*</code> |
The stars around <code>*bug*</code> are not a special syntax. Rather, they are part of the symbol's name. This widely-used convention effectively places dynamic variables into their own namespace, which is necessary for preventing bugs. Common Lisp itself follows this tradition in its standard dynamic variables like <code>*print-circle*</code>, <code>*readtable*</code> et cetera. |
||
=={{header|Delphi}}== |
=={{header|Delphi}}== |