2 ms·
> Go avoids magic What? Go is all about magic. All the std lib stuff that is able to take any type works by magic. Those "obscure rules" (which I prefer to ca
by leshow 8y ago
> Go avoids magic
What? Go is all about magic. All the std lib stuff that is able to take any type works by magic.
Those "obscure rules" (which I prefer to call being able to reason about code) look like they are going to get added in Go 2.
It's odd how programmers think polymorphism is this obscure thing when it's available in almost every typed language.
- seandougall 8y agoI would add garbage collection to that. Being able to ignore memory management and trust it to be handled at a non-deterministic time by a separate entity outside of your control is certainly useful, but it's also about as "magic" as programming gets at the language level.