4 ms·
"int" doesn't reveal the intention of the programmer - they might just have used it because it's "int", not because it changes size based on what system you are
by Triave 11y ago
"int" doesn't reveal the intention of the programmer - they might just have used it because it's "int", not because it changes size based on what system you are targeting.
If they used 'int_fast16_t' from <stdint.h>, you have at least an idea that they considered that it might only be 16 bits, and that it can be a larger type on systems where operations on 64-bit types are faster.