Re:Dynamic Scoping in C++
by munificent on Monday September 21, 2020 @03:41PM
(#24547578)
Right, UI frameworks like Angular do dependency injection at the framework level because the underlying language doesn't have direct support for dynamic scope.
Sort of like how you can do object-oriented programming in C by making a struct of function pointers to create your own v-tables.
Sort of like how you can do object-oriented programming in C by making a struct of function pointers to create your own v-tables.