Woah, not to take this totally down a different path, but I thought ContiguousArray was being deprecated?<br><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 25, 2017 at 18:48 Zach Waldowski 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">On Wed, Jan 25, 2017, at 04:54 PM, Ben Cohen wrote:<br class="gmail_msg">
> I’m normally all in favor of the “don’t give people features, or they'll<br class="gmail_msg">
> use them too much” argument but in this case I don’t think it applies.<br class="gmail_msg">
<br class="gmail_msg">
That's not what I'm calling for at all. In fact, ContiguousArray and co.<br class="gmail_msg">
are a great example of the problem I'm having here. After reading,<br class="gmail_msg">
learning, profiling, and tuning, more than once on my teams has a<br class="gmail_msg">
correct use of ContiguousArray been shot down by "why isn't this just<br class="gmail_msg">
Array?" during code review. I've more than once had to babysit an angry<br class="gmail_msg">
coworker or walk a confused student through why they have a variable of<br class="gmail_msg">
type ArraySlice and not Array.<br class="gmail_msg">
<br class="gmail_msg">
I cannot emphasize more thoroughly that I want all this power (and<br class="gmail_msg">
more!) to exist in the stdlib, but, and don't take this the wrong way,<br class="gmail_msg">
the concern that I'm voicing is the team must balance the desire for a<br class="gmail_msg">
perfect, beautiful, complete String model and how, in practice, it's<br class="gmail_msg">
actually gets used — a set of possibilities which includes "not at all"<br class="gmail_msg">
and many varieties of "incorrectly".<br class="gmail_msg">
<br class="gmail_msg">
Best,<br class="gmail_msg">
Zachary Waldowski<br class="gmail_msg">
<a href="mailto:zach@waldowski.me" class="gmail_msg" target="_blank">zach@waldowski.me</a><br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
swift-evolution mailing list<br class="gmail_msg">
<a href="mailto:swift-evolution@swift.org" class="gmail_msg" target="_blank">swift-evolution@swift.org</a><br class="gmail_msg">
<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">
</blockquote></div>