News for hackers. Stuff that matters.
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.