Re:Golang: How to Update APIs for Generics
by zerr on Thursday September 16, 2021 @06:29AM
(#28549994)
Any updates regarding the if-hell of error handling?
[ Parent
| on HN ]
Re:Golang: How to Update APIs for Generics
by mseepgood on Thursday September 16, 2021 @06:52AM
(#28550131)
They spent months consolidating feedback and made two proposals. The community didn't want change. Now they are no longer working on it and are focusing on getting generics out.
Re:Golang: How to Update APIs for Generics
by _ph_ on Thursday September 16, 2021 @07:09AM
(#28550244)
I would guess they start looking into it again after the generics transition is done. But I think it is a good practice not to force things but let certain ideas rest, if no agreement can be reached. Probably the best solution hasn't been found yet :)
Re:Golang: How to Update APIs for Generics
by neetle on Thursday September 16, 2021 @06:34AM
(#28550022)
"Try another language instead" is always a valid option.
There isn't anything wrong with a language just not jiving with your sensibilities.
Re:Golang: How to Update APIs for Generics
by chakkepolja on Thursday September 16, 2021 @10:24AM
(#28552219)
Problem is, perfect language with perfect libraries and perfect tools doesn't exist.
Re:Golang: How to Update APIs for Generics
by lamontcg on Thursday September 16, 2021 @12:29PM
(#28553823)
Somewhere in the middle of Go, Julia and Rust is the programming language I'd really like to use.
Re:Golang: How to Update APIs for Generics
by qaq on Thursday September 16, 2021 @04:39PM
(#28557241)
I'd throw in Swift into the mix
Re:Golang: How to Update APIs for Generics
by lamontcg on Wednesday September 22, 2021 @02:23AM
(#28613602)
I just took another fresh look at it and on the surface the syntax looks really attractive.