Whoa: just found a crashing bug in Retcon, that I wrote *four years* ago. It’s easy to trigger, too: just ⌘↓ a commit that’s right above the very first commit in the history.

(it’s an array indexing bug: the commit has no parent now, so the lookup fails. these days I use `safeIndex:` everywhere.)

@Cykelero for a programming language where optionals play such an important role, the fact that array index accessors are not optional by default has always felt like an oversight to me…
@jeffreykuiken Yeah, same! But I think it’s intentional, there’s a forum post somewhere I think, explaining their rationale
@Cykelero interesting, I’ll see if I can find it sometime!
swift-evolution/commonly_proposed.md at main · swiftlang/swift-evolution

This maintains proposals for changes and user-visible enhancements to the Swift Programming Language. - swiftlang/swift-evolution

GitHub
@Cykelero thanks, that’s an interesting read!