Creator of $BCH , now working on $XEC: https://e.cash
Benevolent dictator of @Bitcoin_ABC
. Vi/Vim
we talked last week about what can go wrong with floating point numbers, so -- what can go wrong when using integers?
so far I have:
* 32 bit integers are smaller than you think (they only go up to 4 billion!)
* overflow
* sometimes you need to switch the byte order
* ?? (maybe something about shift / bitwise operations? not sure what can go wrong with that exactly)
I'd especially love real-world examples of things that have gone wrong, if you have them!
just read "The Pocket Guide to Debugging" by @b0rk
I wish I had this guide when I first started writing bugs, er, software. Even 40+ years later it is a fun little refresher.
https://codingkata.tardate.com/methods/the_pocket_guide_to_debugging/ (book notes)