> On Nov 7, 2017, at 3:35 PM, Kevin Ballard via swift-evolution > <swift-evolution@swift.org> wrote: > > It's a fairly minor issue, one that really only affects new Swift programmers > anyway rather than all users > I’ve seen enough misuse of flatMap at this point to be confident saying it’s not just a beginner error. Experienced programmers (as experienced as any Swift programmer can be for a 4-year-old language) frequently use flatMap when they mean map. It happens in Apple codebases, and in popular frameworks. Even with knowledgeable programmers, the explanation of the mistake they’ve made often takes a couple of minutes to sink in. The overload is actively confusing across the spectrum. _______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution
Re: [swift-evolution] [Review] SE-0187: Introduce Sequence.filterMap(_:)
Ben Cohen via swift-evolution Wed, 08 Nov 2017 14:01:23 -0800
- [swift-evolution] [Review] SE-0187: Intr... John McCall via swift-evolution
- Re: [swift-evolution] [Review] SE-0... Kevin Ballard via swift-evolution
- Re: [swift-evolution] [Review] ... John McCall via swift-evolution
- Re: [swift-evolution] [Revi... Tino Heth via swift-evolution
- Re: [swift-evolution] [Revi... Kevin Ballard via swift-evolution
- Re: [swift-evolution] [... John McCall via swift-evolution
- Re: [swift-evoluti... Rod Brown via swift-evolution
- Re: [swift-evolution] [Review] ... Max Moiseev via swift-evolution
- Re: [swift-evolution] [Revi... Kevin Ballard via swift-evolution
- Re: [swift-evolution] [Review] ... Ben Cohen via swift-evolution
- Re: [swift-evolution] [Revi... Tino Heth via swift-evolution
- Re: [swift-evolution] [... BJ Homer via swift-evolution
- Re: [swift-evolution] [Review] SE-0... BJ Homer via swift-evolution
- Re: [swift-evolution] [Review] ... Tino Heth via swift-evolution
- Re: [swift-evolution] [Revi... Kevin Ballard via swift-evolution
- Re: [swift-evolution] [... Tino Heth via swift-evolution
- Re: [swift-evolution] [Revi... Max Moiseev via swift-evolution
- Re: [swift-evolution] [... Tino Heth via swift-evolution
- Re: [swift-evoluti... John McCall via swift-evolution
- Re: [swift-evo... Tino Heth via swift-evolution