Avoid names which differ only by T
#86
Labels
⬇️ affects: code (interfaces)
Affects the way end users will interact with the library
📁 kind: cleanup
Making the library nicer in some way, without affecting functionality much or at all
💪 effort: medium
We strive to be "easy to use correctly; hard to use incorrectly".
Right now, one significant way the library is "easy to use incorrectly" is to do with very different type names that differ only by
T
. Examples:UnitProductT
andUnitProduct
.CommonUnitT
andCommonUnit
For
UnitProduct
, I could see using something likeCompoundUnit
. I don't have any good ideas for an alternative name forCommonUnit
.The text was updated successfully, but these errors were encountered: