Costs of System Injection
- Extra cognitive load
- Enforcement of dependency injection
Context
arguments
- In the short term, it doesn't pay for the cost...
- More like investment
- The same as unit tests, or any other software engineering methodologies
- Pen is not for scripting, or software with short expectancy in general.
print = \(ctx Context, s string) none | error {
File'Write(ctx, File'StdOut(), s)?
none
}