JMP Scope -- Dynamic vs. Lexical scope and general confusion learning JSL
If I'm wrong please correct me, but it would seem that JMP has dynamic-scope with no scope persistence (except for the pseudo-namespaces Here
, Window
, Box
). This contrasts with many popular programming languages that have lexical-scope with full scope-persistence using reference-counters. This caused a lot of head-smashing on my end until I gained the intuition needed to work with the weird scope...