What kind of programmer are you…
take this simple C based ‘loop’ test
You still remember good old days with your Atari/Commodore machine. You like to annotate the code and you miss line numbers so much
void main() {
loop:
printf("Hello\n");
goto loop;
}
You like it ‘low level’ style. In high school you were the master of assembler. There is nothing wrong about working with bare metal, close to the chip.
#include <setjmp.h>
jmp_buf ljenv;
void main() {
setjmp(ljenv);
printf("Hello\n");
longjmp(ljenv, 0);
}
There is also nothing wrong with procedural languages. Do you recall ‘the father’ of clean procedural code – mister Pascal?
#define true 1
void main() {
while( true ) {
printf("Hello\n");
}
}
You are the Z-generation coder. Scala is the language to rule them all. Recursion, recursion everywhere.
void loop() {
printf("Hello\n");
loop();
}
void main() {
loop();
}