News for hackers. Stuff that matters.
Re:Quick Overview of Julia language [pdf] by rscho on Sunday January 10, 2021 @05:36PM (#25720902)
Most languages designed for scientific (vs. business) use cases are 1-based. Mathematicians prefer it to zero.
Re:Quick Overview of Julia language [pdf] by lahvak on Monday January 11, 2021 @01:02AM (#25725180)
A mathematician here. The problem is that both 0 and 1 are useful in different situations: when dealing with sequences and series, especially ones arising from discrete models where the important thing to consider is going from one term to the next one (as is always the case when dealing with series), or when sequences are used as discrete approximations of a continuous process, it usually makes much more sense to start indexing with zero. On the other hand, using zero indexing with matrices and vectors leads to madness.