3 ms·
That's like saying C doesn't need pointers in the type system, because it already has pointer-sized integers (BCPL actually had that philosophy). Slices greatl
by pornel 7y ago
That's like saying C doesn't need pointers in the type system, because it already has pointer-sized integers (BCPL actually had that philosophy).
Slices greatly improve interfaces. Especially if you want to return a (sub)slice of something, C doesn't have any non-clunky solution.