DEV Community

Discussion on: Advanced NestJS: Dynamic Providers

Collapse
 
ehaynes99 profile image
Eric Haynes

I just keep banging my head against the wall. It's like some kind of contest to see who can overcomplicate things the most. It's rooted in this archaic belief that initializing objects is expensive, then just snowballs with tactics designed to prevent duplicate initializations across use cases where there would NEVER be duplicates for objects in places where it wouldn't matter if there were.