by ajnin · 3mo ago · 0 comments
void TrackFaceTotal::setDistance(float dist, bool isImperial);
void TrackFaceOverview::setPace(float pace);
and bool unitsImperial;
littered everywhere, it makes my heart sink a little. Can't we have some data types and data modeling in 2026 please ? And leave unit conversion at the front end where it should be and not have to worry about it in every single core API ?Be grateful it's C++, it could be raw C.
That said, while I think you picked an example that undermines your point, the point does still stand. The SDK has a lot of rough edges (just not this specific one).