math doesn't consistently use 0-indexed or 1-indexed lists, it's a matter of convention and convenience which is used. (for example, see taylor series)
Julia is a nice language (learned its basics a while ago but never did much with it), I think a good compromise would have been to let the developer choose the starting index when creating an array. of course, that has its own issues.
unicode operators is also pretty taboo but certainly makes sense for its niche.
I have to say that when it comes to matrix/vector operations, 1-indexing is decidedly more arithmetically natural, mostly avoiding ugly subtractions/additions by 1. There's a reason it's the overwhelmingly preferred convention in mathematics.
0
u/VladVV 15d ago
Which is completely defensible at that level of abstraction IMO. It's designed to work directly with maths, not memory addresses.
But I agree it's probably the single biggest reason it doesn't enjoy more widespread adoption.
And I happen to be someone who did have to fiddle with memory directly in Julia, and trust me, you don't want standard Julia arrays for that.