Thanks for your input.
Clearly it's not the best example, but it surprised me.
With your explanation, I get it. And also, reading my code again, it is
confusing.
I always thought that Go could benefit from generics, but clearly, I want
to also avoid template meta programming, because it is clearl
I completely forgot about this thread. I wanted to thank you all for your
insights.
I've learned quite a few things, and can add many things to my "to dig"
list!
Le vendredi 3 janvier 2020 23:31:52 UTC+1, Dolanor Maergal a écrit :
>
> Hi all and Happy New Year,
>
>
Hello,
having fun with generics I stumbled upon this failure:
https://go2goplay.golang.org/p/Dc3tWrd6RzQ
Bryan C. Mills helped me to fix it by forcing the type at the call point.
(the comment in the code)
Forcing a type on a var you just declared is a little bit troublesome in
this case, but i
Hi,
I'm quite happy about the generics so far, but now I'm trying some ideas
that I don't know if they are possible or not given the current proposal.
My idea, is to create some kind of generic handler for "net/http" that
could be used in a whole project.
It would allow same behavior on each rou
Hi all and Happy New Year,
I was daydreaming the other day and I was wondering if it was possible to
create some alternate runtime package.
The point would be to have the scheduler schedule goroutine not only on
different CPU, but also on different CPU on different machines.
The system would be
Him
Source Hut actually requires me to create an account to read the mailing
list. Hmph.
Anyway, I tried to run it on android and web (don't have wayland), and they
work!
It's just weird to interact within a canvas on the web and not get all the
niceties of the classic html controls.
And on and