News for hackers. Stuff that matters.
Re:Why is Tcl syntax so weird (2013) by rectang on Tuesday November 09, 2021 @12:03AM (#29157926)
Dynamic scoping (`local $foo`) is nothing special in Perl. It's also a construct which, like novel flow control operators, by its nature leads to code which is complicated to reason about and difficult to debug.

There are many programming language concepts which may be innovative and beautiful, but whose popularity wanes because of practical flaws. (EIAS is another.)

Re:Why is Tcl syntax so weird (2013) by fiddlerwoaroof on Tuesday November 09, 2021 @12:17AM (#29158006)
Dynamic scoping, combined with variable naming conventions, is a beautiful way to achieve “dependency injection” with a minimal amount of complexity.

Like any feature, it can be abused, but it can be very elegant.