Hacker News new | past | comments | ask | show | jobs | submit login

Julia uses `end` because it is derived from MATLAB which also uses `end`, it's not to save ASCII characters.



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/


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.


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.


Then why does MATLAB do it?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: