6 ms·
Why not explicitly initialize the one-off components and pass them to the other parts of the system that need them as arguments so the system is testable and de
by cr__ 4y ago
Why not explicitly initialize the one-off components and pass them to the other parts of the system that need them as arguments so the system is testable and dependencies are clear?
(I know why, generally—low-expressivity languages make it nightmarish to actually do this.)