3 ms·
I understand the argument exposed in the document; anyway, I've always felt the "struct" was somewhat redundant and added unnecesary noise (specially if you use
by angelortega 15y ago
I understand the argument exposed in the document; anyway, I've always felt the "struct" was somewhat redundant and added unnecesary noise (specially if you use three or more pointers to structs in function prototypes, for example).
The example is also not very useful and even a bit perverse: sure you don't know what "vps_t a" is at first sight, but with "struct virtual_container a" you have almost the same information. If you could omit the "struct" and wrote it as "virtual_container a", the meaning is equally clear.
Anyway, I think this is a matter of taste.