Never say sizeof(sometype)
when you can say sizeof(a_variable)
. The latter works even if the type of a_variable
changes, and it is much more obvious what the size is supposed to represent.
Never say sizeof(sometype)
when you can say sizeof(a_variable)
. The latter works even if the type of a_variable
changes, and it is much more obvious what the size is supposed to represent.
Powered by WordPress