News for hackers. Stuff that matters.
Re:You can’t fix diversity in tech without fixing the techni... by jryan49 on Wednesday November 02, 2016 @09:13PM (#12860831)
When's the last time you had to modulo a number? I feel like when I was first asked this question I got hung up on that more that anything.
Re:You can’t fix diversity in tech without fixing the techni... by morgante on Wednesday November 02, 2016 @10:10PM (#12861058)
You don't need the modulus operator to solve FizzBuzz.
Re:You can’t fix diversity in tech without fixing the techni... by jryan49 on Thursday November 03, 2016 @08:51AM (#12863520)
Yeah, that's true. But any standard implementation is going to use %...
Re:You can’t fix diversity in tech without fixing the techni... by morgante on Thursday November 03, 2016 @09:08AM (#12863606)
Sure, but the important bit is that if you completely blank and forget about % (I have done so) you can still solve it easily if you're a half-decent programmer.

Not to mention that if I see a candidate is stumped on the modulus part I'll offer them % myself.

Re:You can’t fix diversity in tech without fixing the techni... by jryan49 on Thursday November 03, 2016 @02:01PM (#12866339)
Yeah when I blanked I just panicked and could continue. I'm more comfortable in interviews now where that wouldn't happen.