Comment Comment by rtlfe Using types that encode the units, as suggested in OP, is strictly better. parent rtlfe 3 years ago