Re:Dependency injection is dynamic scoping in disguise
by mrfredward on Thursday October 31, 2019 @12:54PM
(#21410886)
Oh man. It's not as bad now with shaders, but I remember how horrible learning fixed pipeline OpenGL was. You'd try to write some simple code, the result would be a black screen, and you'd just keep adding glEnable/glDisable calls to your code over and over until you figure what invisible piece of global state was ruining your day.
[ Parent
| on HN ]