- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Thu, 10 Oct 2024 11:09:08 +0000
- To: public-css-archive@w3.org
> I like the proposal to remove using and instead allow variables to 'inherit' from further up the call stack. That is "full" dynamic scoping, then. If that's indeed what we want, well OK. But should mention a good point (made elsewhere) by @mgiuca, that dynamic scoping breeds chaos for closures/higher-order functions. (Imagine passing a function around in a value and have that behave differently depending on where it's invoked.) So I think a resolution to do dynamic scoping, is also a resolution to never do closures or similar in CSS. (That might be OK.) -- GitHub Notification of comment by andruud Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10954#issuecomment-2404796995 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 10 October 2024 11:09:09 UTC