Re:Why Does Julia Work So Well?
by IshKebab on Wednesday October 21, 2020 @08:04AM
(#24846948)
Julia uses `end` because it is derived from MATLAB which also uses `end`, it's not to save ASCII characters.
[ Parent
| on HN ]
AFAIK it is the opposite of what you have said. And although Julia has a lot of inspiration of Matlab syntax, it is absolutely not derived from it. https://julialang.org/blog/2012/02/why-we-created-julia/
Re:Why Does Julia Work So Well?
by StefanKarpinski on Wednesday October 21, 2020 @03:23PM
(#24851104)
There are many fine languages that have used `end` to delimit blocks, including: Pascal — an elegant, classic language (and my first, personally); Ruby — another gem (get it). And yes, also Matlab, which is hardly unique in this respect.
Right, but Julia is not derived from Ruby or Pascal.
Re:Why Does Julia Work So Well?
by StefanKarpinski on Thursday October 22, 2020 @12:24PM
(#24859772)
Julia isn't derived from Matlab either and was influenced as much by Ruby as by Matlab.
> derive: base a concept on an extension or modification of (another concept).
Obviously I didn't mean the implementation was based on MATLAB because that would be impossible.