Skip to main content
1 of 4
Laikoni
  • 26.3k
  • 6
  • 52
  • 115

#Write an explanation of your code

Writing an explanation forces you to thoroughly look at each part of your code again and to make your toughs and choices how you wrote a certain passage explicit. In doing so one might find that different approaches are possible which may save some bytes or that one subconsciously made assumptions which don't necessarily hold.

This tip is similar to Question your choice of algorithm and try something entirely new, however I found in my own experience that the step of actually writing down how each part is supposed to work is sometimes crucial for becoming aware of alternatives.

As a bonus, answers including an explanation are more interesting for other users and are hence more likely to be upvoted.

Laikoni
  • 26.3k
  • 6
  • 52
  • 115