News for hackers. Stuff that matters.
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.
Re:Dependency injection is dynamic scoping in disguise by mettamage on Thursday October 31, 2019 @01:25PM (#21411304)
Oh man, I'm not sure if I'm imagining it, but that sounds like me in 2012.