3 ms·
I think it's a reasonable first pass at implementing generic functions. I'd love to see Map/Filter/Reduce, but starting with the simplest set of generic functi
by empath-nirvana 3y ago
I think it's a reasonable first pass at implementing generic functions.
I'd love to see Map/Filter/Reduce, but starting with the simplest set of generic functions and getting people comfortable with them is probably a good idea.
Go idiomatically is very imperative and introducing a new programming style at the same time as introducing generics might be too much change at once.
I'd also like to see an option and a result type at some point so we can stop doing nil checks all over the place.