Self-confidence as a programmer is when starting a new project, storing the transaction ID as a long rather than an int...
> Self-confidence as a programmer is when starting a new project, storing the transaction ID as a long rather than an int... uint64_t even Or a UUID as others have suggested. Technically C spec doesn't really say exactly how many bits int, long and long long should be. If you want specific sizes and your code to be somewhat portable use the specific bit sizes to make that clear. There are also types for size-like thi…
I would go further and say you should _always_ use specific sizes, unless forced otherwise. There's no reason not to.