2 ms·
Are you suggesting that the fact that the language has special syntax for initializing a few types means it has better support for dependency injection? I don'
by kasey_junk 9y ago
Are you suggesting that the fact that the language has special syntax for initializing a few types means it has better support for dependency injection?
I don't even understand the basic premise of that argument. It seems nonsensical.
- weberc2 9y agoI wouldn't put it that way; it simply means the ROI for a framework is lower, and in Go's case, it's zero or less. It makes perfect sense because Go's syntax servers the same main purpose as a DI framework--to reduce initialization boilerplate.