How often do you see the sizeof(array)/sizeof(array[0]) statement used to get the size of an array? I really hope it′s not too often, because it′s 2024 already. In this note, we′ll talk about the...
I think this was focused on maintaining code. Replacing C-style arrays with std::array can be a daunting task, depending on how the project is structured.
I don't really see how it's daunting enough to avoid mentioning. You can replace a C array on the stack by just swapping it with std::array. Yes, it can depend on the project structure, but that's equivalently true for any STL container the author recommended.