A typical DRM system simply refuses to work if validation fails. A smart DRM system slowly introduces bugs. Much harder to test cracks.
miniblog.
Related Posts
What's the nicest way of doing clientside form validation without annoying the user?
I keep finding forms that show red errors when I write 'wilfred@' for an email or '0' for a telephone number because I haven't finished inputting the value.
Agentic programming workflows rather remind me of genetic programming. The agent has a validation step that looks like a fitness function, and both run iterative trials.
Watching https://youtu.be/KWB-gDVuy_I and I'm struck by how weird constructors are as an API.
* They promote total functions, making it hard to do validation.
* They're hard to split up, because they have special access to unfinished data.
* They're like a framework: you get called.