Obfuscation: Comparing the size of two arrays

~~@x ~~ ~~@y

is true if @x and @y have the same number of elements.

This rather elegant obfuscation uses the smart match operator as well as double bitwise negation.

1 Comment

That is pretty sick and twisted. I like it. :) It's the longer what to write @x == @y.

Leave a comment

About hanekomu

user-pic