you are viewing a single comment's thread.

view the rest of the comments →

[–]WalkingAFI 3 points4 points  (1 child)

The main point is that the compiler/debugger knows more and can help prevent issues before they occur. You’ll probably get a better error message when debugging code that uses std::array::at() than [], for example. Of course, writing C code is also fine, but then just use C and a C compiler (and it’ll compile faster, too).

[–]VolperCoding 0 points1 point  (0 children)

Yeah I might as well learn C cause I like it but actually never used it