<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><br class=""><blockquote type="cite" class=""><div class=""><span style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(254, 254, 254); float: none; display: inline !important;" class="">I simply dislike the syntax, which in my opinion does not fit to Swift.</span></div></blockquote></div>+1<div class=""><br class=""></div><div class="">Also, I might have a different focus for the feature:</div><div class="">Performance and C interoperability are important, but I just want type safety and to avoid creating stupid things like Vector3, Vector4… which can't share code because there's no inheritance for structs (yet), and which are limited in expressiveness.</div><div class=""><br class=""></div><div class="">I don't think arrays should be multidimensional: Memory has only one dimension, this is a low level feature — and it's easy to build multi-dimensional structures on top of simple arrays.</div><div class=""><br class=""></div><div class="">I also have little need for a special syntax for literals: When the array is used as communication medium ("this function returns an array of size 3"), I'm not using literals at all, and when I'm declaring a array for my own use, I wouldn't mind if the compiler decides on his own that it can be fixed size.</div><div class="">There's also the use case of creating an array that will be handed over to a method that expects a FSA, but I wouldn't mind if I have to declare the type explicitly in this case.</div><div class=""><br class=""></div><div class="">Bottom line:</div><div class="">I prefer only one addition, and that is an extension of the generics system that has already been brought up in the manifesto.</div><div class="">With generics, the syntax for arrays is quite intuitive ("let speed: Array<Float, size: 3>"), and the usefulness isn't limited to FSAs alone — after all, Swift is used in production for several years now without proper support for them.</div><div class=""><br class=""></div><div class="">Tino</div></body></html>