The aim of this post is to gather all the tips that can often be applied to challenges.

Please only post answers which can apply to a large number of languages, and one tip per answer.

  • \$\begingroup\$ Shouldn't this be on meta? \$\endgroup\$
    – Someone
    Commented Oct 1, 2023 at 18:01
  • 2
    \$\begingroup\$ @Someone As per the tag info, this is perfectly on-topic on the main site. (And there are 200 other "Tips for..." questions.) \$\endgroup\$
    – Arnauld
    Commented Oct 1, 2023 at 19:03
  • \$\begingroup\$ I might make a community wiki with trivial ones. \$\endgroup\$
    – Someone
    Commented Oct 1, 2023 at 22:07

2 Answers 2


Create a path on the right hand side

In a 2D programming language, and with radiation that deletes or inserts bytes, a useful pattern is to create a path on the right hand side of the program, and get the pointer there quickly.

This is because deleting or adding a character will always change the length of a line and disturb this path. This lets you detect and adjust based on the disruption.

For example you can use this to avoid damaged lines, or intentionally execute them.

Here's an example where I've used this strategy: Construct a Geiger counter in Klein


Trivial Tips


This is a fairly obvious one, but redundancy can help.

For example, if you have a program in a string/function written multiple times, and then a small "core" program near the end that checks for the longest program, the program can likely survive a random hit, or even a few.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.