3 ms·
> The literal syntax that you'd think would make an array of arrays concatenates the arrays instead. Sometimes. It depends on types. (Or have they fixed that no
by KenoFischer 11y ago
> The literal syntax that you'd think would make an array of arrays concatenates the arrays instead. Sometimes. It depends on types. (Or have they fixed that now?)
Yup, we fixed that (deprecated in the latest release, will be switched over). It was super annoying.
There's been lots said on the 1-based indexing discussion, so I won't get into it here, but I can guarantee you that "open source Matlab" is not the ambition. Our ambition is to be the best possible programming language for technical computing and a great language for programming overall.
- kafkaesq 11y agoThere's been lots said on the 1-based indexing discussion, so I won't get into it here. It's not a deal-breaker, I suppose. Still, the rationale I've heard -- "We have chosen 1 to be more similar to existing math software"[1] (as opposed to basically every modern programming language out there) just seems... weird. Perhaps "compatibility with traditional sequence notation in math and physics" (upon which presumably most software packages are based) would be a better statement of the case for 1-based indexing. [1] https://github.com/JuliaLang/julia/issues/558 https://github.com/JuliaLang/julia/issues/558