Re:Spain builds submarine 70 tons too heavy due to wrong dec...
by TeMPOraL on Sunday February 23, 2020 @02:13AM
(#22395578)
> All table columns should also have unit in names, whether in charts, tables, database or variable names.
Oh yes. That would mitigate a lot of stupidity. Imagine if math in programming and Excel had to have both a) always visible/known units, b) unit propagation and c) unit checks. So if A is seconds and B is kilograms, the compiler/spreadsheet wouldn't let you write C = A + B.
Re:Spain builds submarine 70 tons too heavy due to wrong dec...
by selimthegrim on Sunday February 23, 2020 @08:16AM
(#22396699)
Blockpad (http://www.blockpad.net) is the answer to your prayers.
Re:Spain builds submarine 70 tons too heavy due to wrong dec...
by jmnicolas on Monday February 24, 2020 @05:16AM
(#22402910)
Yet some people argue against strongly typed language ...
Re:Spain builds submarine 70 tons too heavy due to wrong dec...
by Doctor_Fegg on Sunday February 23, 2020 @06:29AM
(#22396355)
> All table columns should also have unit in names
Very similar to Hungarian notation: https://en.m.wikipedia.org/wiki/Hungarian_notation
All table columns should also have unit in names, whether in charts, tables, database or variable names.