Differentiable Programming Mega-Proposal

Except in specialized domains like mathematics, where the Swift API Design Guidelines make explicit exceptions for widely used terms of art:

Within a particular programming domain, such as mathematics, a widely precedented term such as sin(x) is preferable to an explanatory phrase such as verticalPositionOnUnitCircleAtOriginOfEndOfRadiusWithAngle(x). Note that in this case, precedent outweighs the guideline to avoid abbreviations: although the complete word is sine, “sin(x)” has been in common use among programmers for decades, and among mathematicians for centuries.

I'm not an enough (or anything) of an expert in differentiable computing to say whether wrt is a well-precedented term compared to withRespectTo to warrant the abbreviation; this was just intended to comment on the broader statement of when abbreviations are/are not preferred by the language guidelines.

11 Likes