Semantic complaint: "my thing is written in the language, not a compiler built-in" is a weak argument and I'd like to see less of it If the compiler is self-hosting, then builtins are written in the language also they just happen to be constexpr rather than runtime
What does Go's "make" function do? A cursory search says it's a way to initialize values, but it sounds like it does something interesting.
-
-
It's the only way to construct generic lists, hashmaps, and channels, because those aren't datastructures that can be written, generically, in Go
-
Ah! Thanks for explaining!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.