Nonna – TypeScript Dependency injection without the reflection tax

(nonna.nodeboot.io)

8 points | by santoman 2 days ago ago

6 comments

  • ericyd 2 days ago ago

    I feel like I haven't yet figured out the line to draw between disliking something because it's AI-generated and disliking something because it's lazy.

    This line:

    > Checked by a guardrail test, not just claimed.

    Is such a meaningless statement to include in the marketing page, it immediately makes me feel like the entire effort was lazy because it seems like they didn't proofread their own page. I almost would rather they just have a page describing what they were trying to accomplish and the prompt they used to get there, and skip the ceremony of the generated library.

  • lioeters 2 days ago ago

    Dependency injection is such a worthless concept. Everywhere I've seen it used, it has negative value, overcomplicating things. Just pass a function as argument, or a different one of the same shape (structural typing). No ceremony, reflection, decorators, generated code, no magic. Keep it simple.

  • theCodeStig 2 days ago ago

    At the very least, you could have given it a cute Italian grandmother mascot

  • undefined 2 days ago ago
    [deleted]
  • xx__yy 2 days ago ago

    [flagged]

  • undefined 2 days ago ago
    [deleted]