@philsen42.bsky.social
Reposted
When modeling data in data-oriented programming, it's essential to make sure illegal states can't be represented in the system.

Here's how to do that with compile-time and run-time checks:
inside.java/2024/06/03/d...
Make Illegal States Unrepresentable - Data Oriented Programming v1.1
Data-oriented programming focuses on modeling data as closely as possible and a guiding principle for achieving that is to ensure that the software can not represent illegal states. That can be achiev...
inside.java
June 3, 2024 at 9:52 AM