Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cnity
· 3y ago · 0 comments
Challenge: a self-healing version of this where the program missing a character outputs the original program (with the character re-inserted).
Comments
[–]
asicsp
3y ago
That's what this program is doing - the mutated code with one character missing will output the original program.
[–]
cnity
OP
3y ago
You're right! I misread the diff command after mutation. Amazing!
[–]
quickthrower2
3y ago
I think it would be more impressive if it produced itself (with character removed) after a character is removed