2 ms·
Life is different. There is no logic to the way it solves problems. A programmer writing a game of life in C will probably do it from scratch, in a straightforw
by GuB-42 7y ago
Life is different. There is no logic to the way it solves problems.
A programmer writing a game of life in C will probably do it from scratch, in a straightforward manner. Read the corresponding machine code and you are going to see familiar structures: loops, coordinates, etc...
Now here is how life does it: you have a program that outputs prime numbers, you then have to change it into a sorting algorithm, then in a fizzbuzz, and then in a game of life. You are not allowed to refactor or do anything from scratch. If the program become too big, you are allowed to remove random instructions.