in reply to Developing larger applications.

Tests. Documentation and tests. Before you code each day, write, for what you plan to do, the user-level pod from the requirements for and write tests to verify each thing you say in it. Also write tests for your functions' behavior with context, unexpected input, and system errors. Then start coding.

After Compline,
Zaxo