Re:The type system is a programmer's best friend
by tsimionescu on Saturday November 05, 2022 @01:50PM
(#33483790)
Funnily enough, there are some applications for converting mechanics problems to analogous electricity problems to leverage circuit simulation software such as PSPICE to help solve things like transcendental equations.
Re:The type system is a programmer's best friend
by hither_shores on Saturday November 05, 2022 @03:47PM
(#33484909)
Yes, but the mapping doesn't change the relationship between the units of measure, which is the actual meaning as far as the type system is concerned. It's just a change of names.
Re:The type system is a programmer's best friend
by tsimionescu on Saturday November 05, 2022 @03:49PM
(#33484929)
Sure, I wasn't meaning to detract from the comment above, just to point out what I thought was an interesting related fact.
You could even double-down on it: "Have there been any studies that prove that using units of measure helps you get the right answer?"