3 ms·
I wrote network software in late 90s, including a cfengine replacement. Probably wrote a few hundred apps. I’m old school. All in C.
by dijonman2 4y ago
I wrote network software in late 90s, including a cfengine replacement.
Probably wrote a few hundred apps. I’m old school. All in C.
- Kim_Bruning 4y agoHi! 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.
- Kim_Bruning 4y agoOk, 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. )