Re:A Bit Overcomplicated
by 8ytecoder on Thursday August 05, 2021 @03:03PM
(#28078054)
The common use for bitwise I have seen is to represent multiple boolean states in a single variable. It's not required for most people at all. A more descriptive multi-value hash/struct with each state explicitly listed as a boolean will create a more readable code. Unless there's a strong need for memory management or a binary protocol implementation, I don't see a need for it.
[ Parent
| on HN ]
There are no comments on this comment yet.