3 ms·
And yet Uber wrote fx[1] to support DI in their golang services. It’s clearly a useful pattern when working on large services. [1]: https://github.com/uber-go/
by 3uler 2y ago
And yet Uber wrote fx[1] to support DI in their golang services. It’s clearly a useful pattern when working on large services.
[1]: https://github.com/uber-go/fx https://github.com/uber-go/fx
- roncesvalles 2y agoI disagree with the premise of that whole project. It shouldn't exist.
- 65a 2y agoI really cannot say Uber's use of Go is particularly idiomatic to me, having started writing Go more than a decade ago now. It just strikes me as overwrought, and I've worked on big services.
- Cthulhu_ 2y agoJust because a known company uses it doesn't mean it's authoritative; there's likewise functional programming libraries built by big companies, but FP should also be avoided in Go because it's not a functional language and not optimized for it.