swiftlang/swift
在 GitHub 查看[SR-3752] Remove redundant word "Index" from Collection properties/typealiases
Open
#46,337 创建于 2017年1月26日
affects ABIgood first issueimprovementstandard libraryswift evolution proposal needed
描述
| Previous ID | SR-3752 |
| Radar | rdar://problem/29976316 |
| Original Reporter | @airspeedswift |
| Type | Improvement |
| Votes | 0 |
| Component/s | Standard Library |
| Labels | Improvement, AffectsABI, StarterProposal |
| Assignee | None |
| Priority | Medium |
md5: 0c809e36d2916cefa628bdb99c61a0e8
Issue Description:
The two properties "startIndex" and "endIndex", and the typealias IndexDistance should have the word "Index" removed, in order to reduce clutter. The meaning is clear without it.
For source compatibility reasons, deprecated computed properties or a typealias should be provided.