3 ms·
I saw a transcript of Rob Pike's "Less is More" where he says "What it says is that he finds writing containers like lists of ints and maps of strings an unbea
by GFK_of_xmaspast 12y ago
I saw a transcript of Rob Pike's "Less is More" where he says
"What it says is that he finds writing containers like lists of ints and maps of strings an unbearable burden. I find that an odd claim. I spend very little of my programming time struggling with those issues, even in languages without generic types."
and I had literally not three days before fixed a bug in somebody's c++ code caused by using their own hand-rolled stack class instead of std::stack, so I'm not inclied to be charitable on go's lack of generics.
- lomnakkus 12y ago... and yet you see quite a lot of code using the Go equivalent of "void *" and casts to get its work done. (That would be the empty interface.) Go looks like it was invented in the 80s.