4 ms·
Don't pass numbers between programs without units.
by jononor 10y ago
Don't pass numbers between programs without units.
- myst 10y agoDon't use non SI units.
- Mikhail_Edoshin 10y agoPeople use non-SI units.
- planteen 10y agoThat doesn't solve everything. There are still textbooks published that use CGS instead of MKS units. Both of those are metric. Non-SI units are widely used in space (e.g., arcseconds).
- greenhouse_gas 10y agoThe issue wasn't units. It was a break in (programming) "contract". Catching such bugs could introduce further (logic related string parsing) bugs. A much more robust method (especially considering that this table was prepared in advance) would have been to have someone else to independently duplicate the work and compare results.