Hacker News new | ask | show | jobs
by vessenes 3809 days 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.