top | item 47180680

(no title)

leephillips | 2 days ago

“All other languages” such as Fortran, etc.?

Why are you recalculating indices?

I don’t think that any Julia program I’ve ever written would need to change if Julia adopted 0-based tomorrow. You don’t typically write C-style loops in Julia; you use array functions and operators, and if you need to iterate you write `for i in array ...`.

“ergonomics matter”

Definitely. Ergonomics is the main reason I enjoy Julia. Performance is a bonus.

discuss

order

No comments yet.