Comment

Comment by stingraycharles

I think the problem is that the Box / Map / any stuff and all the explicit declarations that Go requires makes it harder.

In Haskell as well, you can let the compiler infer a lot of things but that doesn’t appear to be the case with this example.

I’d want the compiler to infer things, but that - I think - is at odds with Go desiring a fast compiler, which I also understand.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton