|
|
|
|
|
by knuthsat
1971 days ago
|
|
You can create an OO mess in Go and Rust that is equivalent to this too. Dependency injection is a nice name for factory functions + dependency list + topological sort, but people still use it horribly, injecting dependencies everywhere, not writing functional and data-oriented composable code. It's nice to learn about patterns but it's wrong to think about patterns as a solution. |
|
> You can create an OO mess in Go and Rust that is equivalent to this too.
To be quite clear, I qualified with idiomatic. I don't think you can create an OO mess with idiomatic Go or Rust, but then again, the whole point of this thread is that there's no clear consensus on what OO actually means, so what does "OO mess" mean.