3 ms·
I think Go has a reasonably good story about each of those three items actually; you can create an array of specific length as a type (and name it if you like),
by vessenes 11y ago
I think Go has a reasonably good story about each of those three items actually; you can create an array of specific length as a type (and name it if you like), or you can create a slice, which does not have length requirements.
Flow control is significantly better, and supports goto style semantics when you need them.
Casting is liberally warned against (unsafe.*), but available when needed.