On Wed, Dec 30, 2020 at 3:37 PM Jan Mercl <0xj...@gmail.com> wrote:

>
> Don't get me wrong. No doubt there are use cases which cannot be
> solved reasonably without generics. No doubt there are many other
> cases where generics will be an elegant and still readable solution
> either.
>
>
I don't disagree on this view. More expressive power in a language is also
more power to make incomprehensible APIs. I've seen my fair share of
interface-heavy APIs which shouldn't have used interfaces in the first
place,
or should have been placed at a different layer of abstraction.

I've also seen my fair share of Haskell code where the problem is also
present.

-- 
J.

-- 
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/CAGrdgiX6CdGPx76z-QZ3jz-Rr8E-LX36%2B%2BD8p_fh5HF1CnUh%2Bg%40mail.gmail.com.

Reply via email to