Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@p > C doesn't have arrays; it has some syntax around pointers. If you try to give it "real" arrays, then the runtimes for all of these other dingus languages stop working, because sometimes what you want is a contiguous region of memory.
you can have both pointers and arrays in a language.
> What is "safety"
bad code either not compiling successfully, or predictably failing at runtime. and not when you try to do something illegal on the machine, i mean if you try to do something your code isn't supposed to do. decades of "just don't write bad code" didn't prevent people from writing bad code. ada's contracts would be so nice to have in C.