Comment

Comment by pansa2

> Minimalist dependency injection in Python

When an object requires other objects for its work, pass references to those other objects into its __init__ method. That’s it.

parent pansa2 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton