Writing maintainable code is a communication skill.
Here are a few tips for writing it 👇
Comment your code
Use less code.
Don't forget about error checking.
Write code that can be easily modified.
Write code that can be easily tested.
Fix the problem, not the symptoms.