3 ms·
> Julia uses 1-based indexing. That rules it out to become a successor to Python. It sounds reasonable until you start interacting with other libraries. I do
by jhoechtl 1mo ago
> Julia uses 1-based indexing.
That rules it out to become a successor to Python. It sounds reasonable until you start interacting with other libraries.
I do know the attemp to justify it for Lua and I don't buy it.
- kvchiu 1mo ago[dead]
- jhbadger 1mo agoNearly all languages designed for mathematics are 1-based - R, Matlab, Mathematica, etc. because that's the mathematical convention and allows using formulas directly. The fact that Python isn't is a drawback in the domain.
- ModernMech 1mo agoNearly all languages for non coders are this way including Excel and SQL and Scratch.
- ModernMech 1mo agoThis is why AI is better at writing code than humans. They just write code and don’t complain about things that don’t matter, like indexing; or another classic, spaces vs tabs. Humans must learn to get past these things.
- 12jahsg 1mo agoAI does not complain because it has no agency and cannot do anything without a prompt. It is better than your code, which is probably a low bar.
- postflopclarity 1mo ago> It is better than your code, which is probably a low bar. why so rude and adversarial, especially when so misinformed? AI code is better than 95% of engineers at this point.
- erjaq17 1mo agoIt is better than your code for sure. 95% confirmed by Netcraft and Gartner.
- postflopclarity 1mo agowhy do you keep making new accounts?