<div dir="ltr">'Functional' is pretty vague in this context. Mutating cuts to differentiating trait. <div><br></div><div>"A function produces something" can fall down if I have a function with side effects. </div><div><br></div><div>``` swift</div><div>private var state = 0 </div><div>func generateCount() -> String {</div><div> state += 1</div><div> return "I've been called \(state) times" </div><div>}</div><div>```</div><div><br></div><div>We could narrow it by saying that a pure function has no side effects but this just draws us further from the relevant point, in my opinion.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 24, 2016 at 7:09 PM, Erica Sadun via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I'm finding the thread on the SE-0023 Review overwhelming. I'm starting a new thread and I'm including a link to a write-up of why I believe naming is better served with functional/procedural differentiation over mutating/non-mutating. <div><br></div><div><a href="https://github.com/erica/SwiftStyle/blob/master/Grammatical.md" target="_blank">https://github.com/erica/SwiftStyle/blob/master/Grammatical.md</a></div><div><br></div><div>If I have not addressed any of Dave's concerns, I will be happy to update this.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- Erica</div><div><br></div></font></span></div><br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div>