Hacker News new | ask | show | jobs
by constantcrying 758 days ago
>I can’t comprehend how people came to the conclusion this was a good idea.

If you look at a textbook for numerical analysis likely the algorithms will be 1-indexed. Julia is a language primarily for writing down mathematics, it would be quite silly not to use mathematical conventions.

1 comments

Curious whether likely is indeed correct. Certainly the textbook my numerical analysis course had wasn't because remember playing with indices to get clean Julia code.
To be honest I don't think I ever saw a book or had a lecture about numerical analysis, where indices were deliberately started at 0.