Breaking news, folks: flex those coding muscles and discard those pesky "invalid states" constraints. 🚫💪 Why follow tried-and-true design principles when you can just ignore them for the sake of "flexibility"? 🙃 After all, who needs a coherent database schema when you can have a delightful mismatch of ids? 🤷‍♂️
https://www.seangoedecke.com/invalid-states/ #codingmuscles #invalidstates #designprinciples #flexibility #databaseschema #HackerNews #ngated
'Make invalid states unrepresentable' considered harmful

One of the most controversial things I believe about good software design is that your code should be more flexible than your domain model. This is in direct…