Re:Generics aren't ready for Go
by emersion on Monday February 18, 2019 @09:43AM
(#19190865)
What's wrong with that? Go has channels thus it doesn't need futures/promises.
[ Parent
| on HN ]
Re:Generics aren't ready for Go
by kasey_junk on Monday February 18, 2019 @09:48AM
(#19190926)
Some problems are more simply modeled as futures/promises than csp.
Go’s unsophisticated type system makes it difficult to write a good standard generic data structure library such as a future/promise library.
That leads to people either writing a poor replacement, not using that style, or losing type safety. This is precisely what you would predict upon learning golang doesn’t have user defined genetics & ive had it bite me more than once in real projects.