Erik Engheim
Jul 3, 2021

--

Not really. In this case it simply did not occur to the designers of C to separate the concept of arrays from slices. With Go and Zig you got exactly the same flexibility as C in this case, but with better type safety.

--

--

Erik Engheim
Erik Engheim

Written by Erik Engheim

Geek dad, living in Oslo, Norway with passion for UX, Julia programming, science, teaching, reading and writing.

No responses yet