Return to Blog entry
I don't know that this is out of the rule or not, since I didn't use bitwise operator, just 'peak' the last bit. but here's Ruby solution.
def even(number); number[ 0 ] == 0 end
I founded out that Ruby allows me to do this, so can this be the way to go? :P