I was reading a Stack Overflow answer here and argued with the author that his wording is confusing, but now I'm not so sure if I'm right.
The phrase in question is:
If a type
T
adopts the protocol and does not defineT.IndexDistance
otherwise thenT.IndexDistance
becomes a type alias forInt
The author initially had it written as 'otherwise, then', later removed the comma. Still to me it doesn't make sense.
To me it seems you have to either of these:
- otherwise, xyz
- otherwise, the
- then
'otherwise then' is just redundant. It's like making two right turns when you need one.