3 ms·
One of the best quality of life fixes D has over C (and by extensions C++) is getting rid of this complexity. In D you can simply go right-to-left. So instead o
by Doxin 6y ago
One of the best quality of life fixes D has over C (and by extensions C++) is getting rid of this complexity. In D you can simply go right-to-left. So instead of having
char *str[10];
you'd have
char*[10] str;
which when read right-to-left trivially results in "str is a array 10 of pointer to char"