2 ms·
The lack of union between validating and executing things has been bothering me relatively often, on several different contexts, for many years already. Want t
by marcosdumay 3y ago
The lack of union between validating and executing things has been bothering me relatively often, on several different contexts, for many years already.
Want to write some CRUD? The relationship between the code and the database is left hanging, and as a result not only the system is prone to failure, but you also have to repeat yourself all the time.
Want to write a simulation library? The language won't help you checking the simulation data at all, you have to do that yourself.
Want to describe some system for DevOps? There's a reason people use shitty custom languages for it instead of just reusing a dev one. Part of that reason is that you can check things compiling the custom language, but that implies you write the entire compiler.
And the list goes on. Somehow it always eluded me that the entire definition of a dependent type system is one that solves this kind of problem. I guess I'm learning Idris soon.