3 ms·
I would really like to see how you implemented DI at the language level. Even at high level document or README file somewhere.
by rrgok 8mo ago
I would really like to see how you implemented DI at the language level. Even at high level document or README file somewhere.
- tikotus 8mo agoI'm also interested in hearing more about this! In my own game scripting scheme, I use implicit argument passing, like a cancellation token to async calls, and a rendering context used for immediate mode esque rendering.
- rkangel 8mo agoI think Dang is saying that you don't need DI. DI is a way of having some generic code be able to call some specific code when needed. If your whole stack is specific you don't have that problem - instead of the DI call site, you just call the function! Much simpler.
- dang 8mo agoYes, exactly.