Kropotkin is a framework that expressly encourages the practise of Continuous Rewriting. It does this by making it easy (and in fact mandatory) to create your application from a large number of very loosely coupled, miniscule components, which co-operate via a shared factspace containing immutable facts about the business domain.