HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by jcmontx

Comment by jcmontx 3 months ago

1 reply

View on Hacker News

The secret is currying. Replace your DI for currying and you'll start to see somewhat similar patterns

Smaug123 3 months ago

By the way, I consider https://www.bartoszsypytkowski.com/dealing-with-complex-depe... to be the canonically correct way to do DI when you want to inject more than like two dependencies.

Reply View | 0 replies