News for hackers. Stuff that matters.
Re:Beauty of the Go Programming Language by noncoml on Saturday October 07, 2017 @05:13PM (#15425725)
I think generics provide extra abstraction that Go designers want to avoid.

ADTs on the other hand are ther to help you model your data better.

Re:Beauty of the Go Programming Language by weberc2 on Saturday October 07, 2017 @06:26PM (#15426035)
Maybe, but I don't see why better days modeling should be more valid than better abstraction. I'm not even convinced ADTs let you model you're data better than Go's interfaces; they're just safer and more convenient (and maybe more performant depending on implementation). Also, the designers have been famously unclear about their stance on generics. They certainly seem reluctant to add them, but the a good chunk of the community wants them badly and the evidence that they're useful is (perhaps unsurprisingly) mounting. The language maintainers have also been unclear about how useful generics must be to merit inclusion in the language, making it seem like they don't really intend to add generics, but they're just entertaining a conversation about generics to parry accusations that they aren't listening to their community.