4 ms·
I'm not sure what the value of a "framework" is in Go.
by 65a 4y ago
I'm not sure what the value of a "framework" is in Go.
- throw_m239339 4y agoGo isn't polymorphic enough as a language to achieve something akin to JEE, Rails, Django or Laravel, so these "go frameworks" will have hard time encapsulating the complexity of underlying libraries they might use. All the former use either an IoC container, or their own flavor of "module loading". This is absolutely not practical in Go. Of course, dependency injection is possible, explicitly, but can hardly be generalized an efficient way, so the plumbing will always be explicit, because the underlying lib types will always leak. So it's not so much that there is no value in frameworks in Go, it just hard to write actual web frameworks in that language that would be useful.
- kgeist 4y ago>Go isn't polymorphic enough Can you elaborate?
- bheadmaster 4y agoGo interfaces are the best form of dependency injection :)
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]