Hacker News new | ask | show | jobs
by stevefan1999 109 days ago
The concept you mentioned is just dependency injection in software engineering design, but instead of giving a class and protocol/interface you give a bunch of function pointers, which is, well, some kind of interface anyway