News for hackers. Stuff that matters.
Re:People Who Apply for Jobs by Showing Up by Kim_Bruning on Sunday July 24, 2022 @04:42PM (#32217506)
So I'm not going to belittle you, I'd actually like to get to the bottom of what's going on here. You say you're a developer, but then ... I'm wondering why you think you can't solve fizzbuzz? Do you have trouble with loops? With conditionals? Do you have trouble knowing where to start? What kind of programming do you normally do (what languages or tools or frameworks do you use)? How did you learn to program?

Sometimes I've taught kids to program and they could solve it in a single lesson. Sometimes I've tried to teach people and they just couldn't learn at all. I'll probably end up teaching some more people in my time, so the better I understand, the better I can maybe help people in future. I hope you have a minute to help me out here!

Re:People Who Apply for Jobs by Showing Up by dijonman2 on Monday July 25, 2022 @03:55PM (#32230065)
I wrote network software in late 90s, including a cfengine replacement.

Probably wrote a few hundred apps. I’m old school. All in C.

Re:People Who Apply for Jobs by Showing Up by Kim_Bruning on Monday July 25, 2022 @04:28PM (#32230477)
Ok, that confuses me even more!

I was thinking maybe you relied heavily on javascript frameworks that do iteration for you. That might explain it.

If you've written a lot of C code, did you somehow manage to do so without using 'for' or 'if' on a regular basis?

(You can tell I'm very confused, because I thought 'if' and 'for' happen a lot in C).

Just to be sure: maybe you're confusing 'fizzbuzz' with something else?

Fizzbuzz was: print the numbers 1 to 100, but instead print "fizz" on every 3rd, "5" on every fifth, and "fizzbuzz" if both.

(That's it, there's no trick question, and we don't care about things like typos or off by ones, because everyone makes those if you just ask out of the blue)

Are you sure you've never written anything similar before in some function or other? (the original cfengine itself seems to have quite a number of functions that loop over something and filter it. )

Re:People Who Apply for Jobs by Showing Up by Kim_Bruning on Wednesday July 27, 2022 @05:43PM (#32257416)
Hi! Just wondering if you're still around? If you have a lot of C experience, haven't you written a lot of for and if statements? I'm still most confused.