2 ms·
The combination of stuff like char*** and the lack of const usage by some C code is really horrible. Like, yeah, maybe you do need something like char***, but
by leni536 4y ago
The combination of stuff like char*** and the lack of const usage by some C code is really horrible.
Like, yeah, maybe you do need something like char***, but do you really need that to be mutable at every single indirection level? But even if you sometimes see char***, you really never see char const* const* const*.
- bsder 4y agoActually, I put that kind of thing in my code all the time. However, you will see "char **" as "char const * const * const" in my code. Yes, newer languages understand "char const * const" as "const String". And, yes, it stinks for brevity, but I'm not on a 300 baud TTY.