On Fri, Jun 12, 2009 at 2:22 PM, Freako F. Freakolowskyfreak@drajv.si wrote:
but on the other hand ... if you would just make sure that the bitwise comparison operation would always be in the "key" part of the array makeList solution would work ...
Having that kind of silent and fragile rule in place isn't good, because it's counterintuitive. People aren't going to realize, they'll just assume bitwise operators work and use them everywhere. If you have an explicit method, then the existence of the method serves as documentation of the fact that you need to use it.