News for hackers. Stuff that matters.
Re:Low Level Bit Hacks You Absolutely Must Know by Insanity on Friday May 11, 2018 @04:12AM (#17045700)
How do you phrase the question? Because surely people you hired should have been able to answer it using modulus?
Re:Low Level Bit Hacks You Absolutely Must Know by throwaway2016a on Friday May 11, 2018 @08:40AM (#17046851)
See my note. I don't ask the question in interviews. I think it is useless, they don't need it for their job. I do ask a variant of fizz buzz that requires using modulus. They don't get hired if they can't answer that one. So this subset of people I'm talking about are ones who do know modulus.
Re:Low Level Bit Hacks You Absolutely Must Know by MarkMMullin on Friday May 11, 2018 @04:25PM (#17050557)
I ask it sometimes too - my favorite response opened with 'you want maintainability or speed' So I picked speed. They immediately set the first branch at mod 3 with the obvious justification - hired on the spot :-)