3 ms·
The biggest thing that keeps me from using Julia rather than Python for math prototypes is that it uses one-based indexing. I go back and forth between these pr
by bgoated01 2y ago
The biggest thing that keeps me from using Julia rather than Python for math prototypes is that it uses one-based indexing. I go back and forth between these prototypes and my C++ codebase, and the mental gymnastics to switch from 0-based to 1-based makes Julia a non-starter for me. I prefer Julia over Python other than that one issue, and the lower availability of tutorials, etc. for Julia.
- lupire 2y agoIndex all your arrays with from_offset(n) def from_offset(n: int): return n+1 Well-typed (or sightly-better-typed) programming ftw.