Re: Strangest language feature
by mikeash on Sunday March 24, 2013 @06:09PM
(#5433983)
Except that "0123456789abcdef"[x & 0xf] is just normal array dereferencing syntax, not the backwards kind you pointed out. The backwards version would be (x & 0xf)["0123456789abcdef"], which isn't really useful, I think.
Oh well. If you happen to find the funny but semi-legitimate one, I'd love to see it.
Oh well. If you happen to find the funny but semi-legitimate one, I'd love to see it.