bricked@feddit.org to Programmer Humor@programming.dev · 12 hours agoDon't grow older than 255 or else it will overflowfeddit.orgimagemessage-square45fedilinkarrow-up1527arrow-down13
arrow-up1524arrow-down1imageDon't grow older than 255 or else it will overflowfeddit.orgbricked@feddit.org to Programmer Humor@programming.dev · 12 hours agomessage-square45fedilink
minus-squareyermaw@sh.itjust.workslinkfedilinkarrow-up5·11 hours agoNow that you mention it it is pretty fucky, but in every textbook thats tried to teach me counting in binary its gone from right to left.
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up8·11 hours agoIt’s not. Numbers are arranged (both binary and base 10) with the most significant digit on the left. Whether you read the number from left to right or right to left is irrelevant and you can choose whichever one you want. But it is completely consistent with base 10 (normal numbers).
minus-squareillpillow@lemmy.mllinkfedilinkarrow-up3·11 hours agoSame here. University told me the lowest bit is on the right, the highest on the left. Never questioned it.
minus-squareRustySharp@programming.devlinkfedilinkarrow-up10·11 hours agoIn kindergarten I was taught when reading the number 123, the lowest digit is on the right, and the highest on the left. Never questioned it either.
Now that you mention it it is pretty fucky, but in every textbook thats tried to teach me counting in binary its gone from right to left.
It’s not. Numbers are arranged (both binary and base 10) with the most significant digit on the left.
Whether you read the number from left to right or right to left is irrelevant and you can choose whichever one you want.
But it is completely consistent with base 10 (normal numbers).
Same here. University told me the lowest bit is on the right, the highest on the left. Never questioned it.
In kindergarten I was taught when reading the number 123, the lowest digit is on the right, and the highest on the left. Never questioned it either.
deleted by creator