Re:Ask HN: Help me choose the best syntax for a new language
by tremens on Wednesday November 01, 2017 @07:38AM
(#15600293)
A mix of B and C.
Variables bound within a scope should be able to shadow variables bound in parent scopes, but global vars should be made obvious when they are used within the codebase - visually marking global variables is a good thing.
Variables bound within a scope should be able to shadow variables bound in parent scopes, but global vars should be made obvious when they are used within the codebase - visually marking global variables is a good thing.
Example: