Hacker News new | ask | show | jobs
by uecker 1 day ago
If I would add another array, it would look like:

int c_style_array[2][5][3];

There is also no jumping back and forth. C declarations are also recursively constructed. One can complain about the irregularity of pointers syntax.

1 comments

Yes, if you only use arrays, then it doesn't make things confusing. The point they were making (as I understand it) is that putting a pointer inside std::array doesn't change the way you have to read it, which is not the case for C arrays.