Re:The Rust I wanted had no future
by hadrien01 on Monday June 05, 2023 @05:42PM
(#36204255)
You don't need interfaces for dependency injection, you can inject classes directly. I see interfaces more for separation of concerns (with domain-driven design pushed from all parts in the .NET world at the moment...), but that's not an obligation.
[ Parent
| on HN ]
There are no comments on this comment yet.