On Tuesday, 25 March 2014 at 15:14:09 UTC, Marc Schütz wrote:
On Tuesday, 25 March 2014 at 11:54:25 UTC, Daniel Murphy wrote:
I just introduced one in my own code:
if (s[0] != '/', s)
What is it supposed to do? Do you want to check that s is at
least 1 character long? Otherwise it's a NOP, AFAICS.
I think it's supposed to test if first byte at s isn't '/'
character ,s was a typo. I don't think it's a NOP because if I'm
right, s is evaluated to begging of its address and it's always
!= 0. So, if it will always run.