From 7e0e38bd155fab76fa3b6776f9184611d044903d Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sun, 18 Jul 2021 17:53:37 -0400 Subject: Finish lexical scope documentation --- doc/oop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/oop.md') diff --git a/doc/oop.md b/doc/oop.md index c2da0094..736652fe 100644 --- a/doc/oop.md +++ b/doc/oop.md @@ -128,7 +128,7 @@ This is a pretty clunky solution, and exports a useless method `SetThis` (which ## Class members -As with `this`, giving a class variables that belong to it is a do-it-yourself sort of thing (or more positively, not at all magic (funny how programmer jargon goes the opposite way to ordinary English)). It's an easy one though, as this is exactly what lexical scoping does: +As with `this`, giving a class variables that belong to it is a do-it-yourself sort of thing (or more positively, not at all magic (funny how programmer jargon goes the opposite way to ordinary English)). It's an easy one though, as this is exactly what [lexical scoping](lexical.md) does: staticClass ← { counter ← 0 -- cgit v1.2.3