X Interview Question

How to write maintainable and testable code