-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDISCARDED_FEATURES
9 lines (9 loc) · 1.78 KB
/
DISCARDED_FEATURES
1
2
3
4
5
6
7
8
9
DISCARDED FEATURES
1. Macro that allows to embed coordinates inside classes by adding all his member-variables and functions inside it. It has been preferred the use of composition or inheritance over it.
2. Units are displayed on the english locale, not on any other locale in order to avoid confusion with any other use of the ',' symbol used near the displaying of the number, cause if the number is displayed with a ',' the meaning of each ',' becomes more ambiguous, and can be interpreted as two different numbers.
3. vector_unit_3d, or any other class that has constructors with angle and float for angles can't have all the combinations, but instead just a constructor with floats and just a constructor with angle, not any other, because this way the code becomes simpler.
4. sqrt() can't give scalar_units with squared dimensions, that's, with dimensions at a power of 1/2, although that appears in some scientific texts it's very possibly a wrong statement and then is discarded as feature for this library.
5. Temperature can have negative values, that's an express feature of the library. The reason of that is that then erroneous calculations appears expressly with the negative symbol, which is better than to throw an error message.
6. coordinates_2d can't support geographic coordinates, because that's always false. Geographic coordinates are always really in 3D, because they represent a position inside a planet (or another astronomical object).
7. day and hour can't be abbreviated with 'd' and 'h', respectively, because then they are easily confused with other different dimensions. That's why their name and not their symbol is used instead. The same logic applies to barn.
8. The string literal _θ has been discarded in favor of _degree, because it's confusing if it's in degrees or radians.