|
|
|
|
|
by bgoated01
636 days 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. |
|
def from_offset(n: int): return n+1
Well-typed (or sightly-better-typed) programming ftw.