Should we remove int[$] before 2.067?
stewarth via Digitalmars-d
digitalmars-d at puremagic.com
Sun Feb 1 17:52:13 PST 2015
On Sunday, 1 February 2015 at 23:19:53 UTC, Andrei Alexandrescu
wrote:
> On 2/1/15 1:03 PM, uri wrote:
>> int[$] a=[1,2,3];
>>
>> The syntax sugar helps when prototyping ideas, which is why R
>> and Octave
>> (MATLAB) are so useful.
>
> Do R, Octave, or Matlab have the ability to define arrays on
> the stack? -- Andrei
No they don't, at least not to my knowledge and we use Matlab
every day at my workplace.
I think what Uri is referring to is the very low resistance once
sees in the syntax of R, Matlab, Python when going from an idea
or algorithm on paper to code.
I've always found dynamic arrays in D are perfectly fine for
rapid prototyping code, however, my situation may be different
from that Uri.
Cheers,
stew
More information about the Digitalmars-d
mailing list