Hacker News new | ask | show | jobs
by pmarin 1145 days ago
>For example sometimes you forget to change all the relevant types from uint32_t to uint64_t when refactoring some value and stuff breaks weirdly

Use size_t

2 comments

`size_t` may not be helpful. You can argue that some other specific typedef should have been used in this case, but it's kind of water under the bridge already.
size_t is for object sizes. It might not be 64 bits.