Discussion Thread: DIP 1039--Static Arrays with Inferred Length--Community Review Round 1

Atila Neves atila.neves at gmail.com
Wed Jan 13 14:48:07 UTC 2021


On Monday, 11 January 2021 at 12:32:42 UTC, Nick Treleaven wrote:
> On Friday, 8 January 2021 at 14:07:29 UTC, Luhrel wrote:
>>> Example a3 is straightforward the primary use case for 
>>> staticArray:
>>>     auto a3 = [1,2,3].staticArray;
>>
>> I really don't like the `.staticArray` because it's 
>> non-esthetic. I don't know if it's really argument, mainly 
>> because it's very personal.
>
> The worst thing about it is you have to import std.array, so 
> probably people won't bother scrolling to the top to add the 
> import and losing/bookmarking their place,

Why do they have to scroll to the top? Even if they did, what 
editor are they using that they can't jump back to where they 
were?



More information about the Digitalmars-d-announce mailing list