Re:Notes on the Go translation of Reposurgeon (2020)
by nvarsj on Saturday December 11, 2021 @08:05AM
(#29520593)
iferr is one of the worst warts of the language. I recently converted a Pulumi project from
golang to Typescript. Code size dropped by 30% just by removing all the iferr checks. The other thing is the compiler
doesn’t complain if you forget to check error returns - so it’s easy to make mistakes. This and lack of generics make golang incredibly verbose at times.
[ Parent
| on HN ]
There are no comments on this comment yet.