by nohat · 4y ago · 0 comments
I will say that as a matter of language design 1 based indexing is perfectly fine, 0 based indexing is perfectly fine. Choose your own indexing is a hilarious foot gun, so no surprise it went off sometimes. Fortunately using it seems to be quite rare.
You can create your own indexing in python too, it will just be slow. The 'sin' of Julia is that it will be fast...