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.
~~@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.
That is pretty sick and twisted. I like it. :) It's the longer what to write @x == @y.