News for hackers. Stuff that matters.
Re:The Next Step for Generics by whateveracct on Wednesday June 17, 2020 @03:44AM (#23548888)
You can improve the non-method syntax slightly by using option.Map in Go style. But it still isn't as nice as a method.

I think type parameters of methods will definitely get added since it's so standard and if anything more confusing to not have them.

Re:The Next Step for Generics by peter_l_downs on Wednesday June 17, 2020 @05:16AM (#23549413)
Yeah, it's a little nicer that way, but methods would be ideal IMO.