News for hackers. Stuff that matters.
Re:You probably don't need a dependency injection framework by Gibbon1 on Sunday May 25, 2025 @09:14PM (#44092952)
I'm a small brained primate but when I get down to what dependency injection is doing it's like my firmware written in C setting a couple of function pointers in a radio handler's struct to tell it which SPI bus and DIO's to use. Which seems trivially okay.
Re:You probably don't need a dependency injection framework by jen20 on Monday May 26, 2025 @02:42AM (#44094634)
Maybe you could even use a different handler in tests!? Shocking that you can do this without using an IoC container and a thousand lines of YAML!

/sarcasm (in case anyone doubted it).