I agree.

A lot of Gonum code would be greatly simplified with the availability
of generics, particularly the linear algebra part. The graph packages
would be richer and we could do more things with tensor-like
operations.

On Wed, 2020-12-23 at 23:54 -0800, Marcin Romaszewicz wrote:
> Those are simple examples of real world problems. I've been writing
> Go since the very beginning, having worked at Google when it was
> released and since I enjoy the language so much, I try to write all
> the backend server code in Go that I can. In these years, I've had to
> write many code generators to make my life a little easier, and they
> tend to be for data structures or API models. 
> 
> Generics would allow for writing less code, and re-using it more. As
> long as it doesn't complicate the base language, why not? You don't
> have to use them :)
> 
> On Wed, Dec 23, 2020 at 11:18 PM Martin Hanson <
> greencopperm...@yandex.com> wrote:
> > I'm sorry, but this is not real life problems. This is exactly the
> > problem with this proposal. It's based on nothing but small
> > theoretical examples.
> > 



-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/06457ed1f86e399d7d00e3c7605d32130c96641c.camel%40kortschak.io.

Reply via email to