News for hackers. Stuff that matters.
Re:Generics enabled by default in Go tip by pm90 on Saturday August 21, 2021 @01:19AM (#28254438)
Go is still pretty “simple”. They didn’t introduce a while loop. Adding generics would arguably “simplify” the language even further since you would presumably throw away a lot of duplicated code.
Re:Generics enabled by default in Go tip by Zababa on Saturday August 21, 2021 @03:46AM (#28255052)
> Go is still pretty “simple”. They didn’t introduce a while loop.

What are you talking about? There is already a while loop, it's just under a different name. I don't think reusing keywords for other purposes is an example of simplicity.

Re:Generics enabled by default in Go tip by mseepgood on Saturday August 21, 2021 @01:38AM (#28254515)
They can simplify code, but they don't simplify the language.
Re:Generics enabled by default in Go tip by masklinn on Saturday August 21, 2021 @02:25AM (#28254734)
The langage which already had generics except special-cased to builtins the langage authors really wanted to be generic and they know better than the peons so they have the intellectual capacity to make this determination?
Re:Generics enabled by default in Go tip by mseepgood on Saturday August 21, 2021 @03:26AM (#28254990)
you sound bitter
Re:Generics enabled by default in Go tip by masklinn on Saturday August 21, 2021 @05:11AM (#28255428)
I'm just believing what Rob Pike told me about his target users for Go.