Unfortunately, the U.S. never completely adopted the metric system, so architectural drawings here still specify lengths in feet and inches.
Currently in our code, we use a mix of conventions for representing lengths. For example, for a door that is 6'8" tall, our code might have any of these five lines:
Bonus question: Should we bother trying to specify units for xy() and xyz() coordinates? For instance, is one of these better than the others, or is there some other syntax that would be cleaner:
Unfortunately, the U.S. never completely adopted the metric system, so architectural drawings here still specify lengths in feet and inches.
Currently in our code, we use a mix of conventions for representing lengths. For example, for a door that is 6'8" tall, our code might have any of these five lines:
If the goal is readable code, is one of those better than the others? Should we adopt one approach as the norm throughout the code?
Alternatively, should we consider other representations instead, such as one of these:
Bonus question: Should we bother trying to specify units for xy() and xyz() coordinates? For instance, is one of these better than the others, or is there some other syntax that would be cleaner: