2 ms·
Failing that, you could also adopt a naming convention with prefixes to indicate what sort of thing it is you're storing there: hsCode = hsFromUs(usInputBuffer
by torstenvl 7y ago
Failing that, you could also adopt a naming convention with prefixes to indicate what sort of thing it is you're storing there:
hsCode = hsFromUs(usInputBuffer);
ssStoredCode = ssFromHs(hsCode);
https://www.joelonsoftware.com/2005/05/11/making-wrong-code-look-wrong/ https://www.joelonsoftware.com/2005/05/11/making-wrong-code-...
- DannyB2 7y agoYes. But having the compiler enforce it is your first line of defense. If it doesn't compile, you know there is an actual problem. In modern IDEs, you see these compile errors as quickly as you type them.