memesearch
FizzBuzz Interview Alternative

FizzBuzz Interview Alternative

Download Find similar pictures
Text on the meme
we all know by now that fizzbuzz is an unrealistic case for interviews. here's my suggestion for a better program instead 👍🏻 #include <stdio.h> int i; int main(void) { if (i % 3 == 0 && i % 5 == 0) { fprintf(stderr, "Connection reset\\n"); } else if (i % 5 == 0) { fprintf(stderr, "Bus error\\n"); } else if (i % 3 == 0) { fprintf(stderr, "failed to initiate panic; error 5\\n"); } else { fprintf(stderr, "Segmentation fault (core dumped)\\n"); } // global because i18n is important i++; return main(); }
What it means

A tweet presents a C program as a supposedly better alternative to the classic FizzBuzz interview exercise. Instead of printing numbers or words, the program produces increasingly chaotic system errors and recursively calls itself forever, parodying unreliable software and absurd interview coding tasks. EN: A tweet presents a C program as a supposedly better alternative to the classic FizzBuzz interview exercise. Instead of printing numbers or words, the program produces increasingly chaotic system errors and recursively calls itself forever, parodying unreliable software and absurd interview coding tasks.

Objects
Tags
Source
Type
image
Size
667×800 · 65.3 KiB
Mood
саркастичный, абсурдный
Language
en
Added