4 ms·
> Furthermore, in Julia the varargs tuple x will have to be > processed without the convenience of Matlab's nargin > function. I genuinely don't get that.
by apl 15y ago
> Furthermore, in Julia the varargs tuple x will have to be
> processed without the convenience of Matlab's nargin
> function.
I genuinely don't get that. nargin is equivalent to length(x) in this scenario, and Julia's overall handling of default/variable arguments seems significantly more convenient than MATLAB's
if nargin < 5
foo = 21;
end
preambles.