[swift-evolution] Checking in; more thoughts on arrays and variadic generics

Daryle Walker darylew at mac.com
Sun Feb 5 15:32:00 CST 2017


> On Jan 30, 2017, at 7:45 AM, Tino Heth <2th at gmx.de> wrote:
> 
> 
> Arrays are one of the most basic concepts in programming, so I don't want to mix them with tuples - especially as there is a clean alternative (there are still some pieces missing, but "Vector<type: Int, size: 12>" looks much better than any tuple-magic to me).

I was thinking that an array would have the same (or bigger) interaction model as a homogenous tuple. Are you thinking some sort of interface a (homogenous) tuple should have but an array shouldn’t?

— 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com 



More information about the swift-evolution mailing list