I could agree with "bad design" (I probably wouldn't in this particular instance - but it's certainly an arguable point).
However "something that doesn't even make sense" is a somewhat stronger statement than "bad design" :-)
The line makes complete sense as a numerical bitwise or, and the reason it does not do what the author expects is non-obvious in my opinion.
In reply to Re: Re: Re^3: Can you spot the problem?
by adrianh
in thread Can you spot the problem?
by dws
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |