Thinking about the difference between fixed and 'dynamic' arrays.

Paul Backus snarwin at gmail.com
Sun Dec 4 03:39:28 UTC 2022


On Saturday, 3 December 2022 at 22:46:31 UTC, DLearner wrote:
> I agree should not change existing meaning of
> ```
> int[] A;
> ```
>
> But why not allow a construct for value-type variable arrays 
> like:
> ```
> int[*] B;
> ```

There's no reason to add more complexity to the language for this 
when the same result can already be achieved using existing 
language features.


More information about the Digitalmars-d-learn mailing list