|
|
|
|
|
by RiderOfGiraffes
5894 days ago
|
|
I don't regard this idiom as being at all obfuscating. I agree that people who aren't comfortable in the language will find it jarring at first, and will slow them down, but I don't see this as a problematic example. There is a balance to achieve. This is one example, and arguing the specifics of this one example is not as useful as being able to make judgement calls in the wild, for real, and get most of the close enough to right. It's not exact. But idioms, per se, should not be rejected out of hand purely because they're unknown to you. |
|
This idiom obfuscates, as you state yourself, because people who aren't comfortable with the language will find it jarring at first. I understand where you are coming from: If everyone knew it, it wouldn't be obfuscating. But I argue that people forget idioms or never learn idioms that don't map to our human explanations rather quickly, so it increases maintenance costs.
I argue that in this case, it obfuscates simply because bitwise or'ing data is too low level and doesn't have a lot to do with rounding down without understanding the internal representation of the number.