<div>There's also Bool(), which gives you false. But if you look into the docs, it tells you explicitly not to use Bool(). So, just to hazard a guess--implementation artifact? After all, one can't prefix init with an underscore.</div><div><br></div><div><br><div class="gmail_quote"><div>On Mon, Dec 26, 2016 at 12:14 Tim Vermeulen via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I’ve never seen anyone use the empty init for it before, and if I ever will, I’ll probably discourage it. What is it for, anyways? Isn’t `Int.allZeros` enough?<br class="gmail_msg"><br><br class="gmail_msg"><br>> On 26 Dec 2016, at 18:09, David Sweeris <<a href="mailto:davesweeris@mac.com" class="gmail_msg" target="_blank">davesweeris@mac.com</a>> wrote:<br class="gmail_msg"><br>><br class="gmail_msg"><br>><br class="gmail_msg"><br>>> On Dec 26, 2016, at 09:01, Tim Vermeulen via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="gmail_msg" target="_blank">swift-evolution@swift.org</a>> wrote:<br class="gmail_msg"><br>>><br class="gmail_msg"><br>>> Then why is Int() allowed, and why does that return 0?<br class="gmail_msg"><br>><br class="gmail_msg"><br>> Predictability, I'd guess. The memory has to be initialized to *something*. And, IIRC, some architectures can 0 out memory faster than filling it with some other pattern.<br class="gmail_msg"><br>><br class="gmail_msg"><br>> - Dave Sweeris<br class="gmail_msg"><br><br class="gmail_msg"><br>_______________________________________________<br class="gmail_msg"><br>swift-evolution mailing list<br class="gmail_msg"><br><a href="mailto:swift-evolution@swift.org" class="gmail_msg" target="_blank">swift-evolution@swift.org</a><br class="gmail_msg"><br><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class="gmail_msg"><br></blockquote></div></div>