> Personally, I find 'expr ? true : false' rather verbose; why not just: > > return macaddr[0] % 2;
I agree, your variant is shorter and easier to read.
> Personally, I find 'expr ? true : false' rather verbose; why not just: > > return macaddr[0] % 2;
I agree, your variant is shorter and easier to read.