Re:Radiation-hardened Quine: A quine that works after any on...
by tomxor on Friday June 02, 2023 @10:57AM
(#36165997)
Ah, I wasn't aware it was the name of a common code golf challenge, I do code golfing myself but apparently not enough :)
I guess it makes sense people would frame the game that way, arbitrary bit flips seems way too hard, I'm not even sure it's possible for a program to cope on it's own.
Re:Radiation-hardened Quine: A quine that works after any on...
by cubefox on Friday June 02, 2023 @11:03AM
(#36166095)
To be fair, "radiation" suggests only bit flips.
Re:Radiation-hardened Quine: A quine that works after any on...
by dEnigma on Friday June 02, 2023 @11:53AM
(#36166790)
So by "character mutation" you mean the deletion of characters? Because to my ears that term still sounds like bit flips, i.e. changing characters.
Re:Radiation-hardened Quine: A quine that works after any on...
by tedunangst on Friday June 02, 2023 @03:40PM
(#36169846)
> This tag is for challenges which require answers to still work when a random edit to the source code is made.
What if my random edit is to add a character?
Re:Radiation-hardened Quine: A quine that works after any on...
by jonahx on Friday June 02, 2023 @04:51PM
(#36170582)
Possible -- depends on the rules of the specific challenge. Most of the time it's edits, deletes, or some combination. Sometimes the score depends on how many edits your code can withstand.
But "radiation hardening" challenges are common in code golf, and always (from challenges I've seen) framed in terms of character mutation.
Also I suspect some unconscious bias based on your username :P