News for hackers. Stuff that matters.
Re:A Bit Overcomplicated by vsareto on Thursday August 05, 2021 @10:09AM (#28073934)
How do you simultaneously know what bit shifting is but then not know that you can easily avoid it completely for a career?
Re:A Bit Overcomplicated by sudhirj on Thursday August 05, 2021 @10:24AM (#28074136)
I know that it's the manipulation of binary numbers, and I do know what binary numbers are. But I've never operated on binary numbers professionally. I did do some AND OR NOR NOT XOR gate diagrams in high school and college, but haven't looked at binary numbers or thought in binary numbers since then.
Re:A Bit Overcomplicated by AnIdiotOnTheNet on Thursday August 05, 2021 @10:39AM (#28074349)
Ok, so it isn't as though you weren't exposed to the concept at least. The way you phrased what you said made it sound like boolean logic itself might be alien to you. Still, there's such a tiny conceptual distance from the gates to bitwise operators that I'm still a bit surprised you didn't acquire it by osmosis.
Re:A Bit Overcomplicated by sudhirj on Thursday August 05, 2021 @11:42AM (#28075304)
The Boolean logic part is applicable everywhere, so that's actually unrelated to binary arithmetic or bit-shifting. Stuff like Demorgan's theorem etc I practice more in the context of simplifying if-else statements than binary operations. So there hasn't been enough significant overlap to spread into.