3 ms·
> If you specified units for the variables, you could identify mistakes in your equations and functions very quickly. For example, if you wanted meters, but you
by sidpatil 4y ago
> If you specified units for the variables, you could identify mistakes in your equations and functions very quickly. For example, if you wanted meters, but you got m^(2/3), it was usually obvious where in the equation something went wrong.
You can take it even one step further and write tests to check the resulting units for you.
- jessekv 4y agoAh, yes, unit-unit tests. But seriously, I am planning some numerical modelling experiments, and am considering Juila partially because Unitful.jl. Can you recommend it?