by thsksbd · 3y ago · 0 comments
(setq foot (* 0.3048 m))
And not
(setq foot (* 12 inch))
It comes to the same thing, but inch is defined in metric as 2.54 cm and the foot is a derived unit of the inch. But this way it clearly spells out the dependency.
Im not criticizing, it was his library for his use, I'm just wondering if there is there a deeper meaning beyond "God enough"?
(setq km (* m 1000.0))
(setq cm (* m 0.01))
(setq foot (* 0.3048 m))
(setq ft (* 0.3048 m))
(setq mile (* 5280 foot))Furthermore, there are more than one definition of the inch. If he worked on astronomical data from the 19th century UK, all these units would have to be changed. By tying the foot to the inch he'd only have to redefine the inch to the old British inch.