Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Continuous refactoring is much easier with well constrained data/type schemas. There are fewer edge cases to consider, which means any refactoring or data migration processes are simpler.

The trick is to make the schema represent what you need - right now - and no more. Which is the point of the “Make your invalid states unrepresentable” comment.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: