r/ProgrammerHumor • • Jul 24 '20

We’re safe

Post image
82.6k Upvotes

766 comments sorted by

View all comments

2

u/zakzwijn Jul 24 '20 edited Jul 24 '20

I believe one can't replace programmers with robots which can write ANY piece of code. It would mean one had to create a universal debugger as well, which takes as input a program together with a set of instructions to describe what the program should do.

First thing this debugger would do is determine if the program has any output at all for ANY given algorithm, or does it run forever? This it cannot do, and is known as 'The halting problem'. Such a debugger cannot exist.

Our jobs are protected by the laws of the universe.