Skip to content

Comment on Julia, I Love Youparent

Comments

Not to be pedantic, but Fortran 1-based array indices are from Fortran 66 and earlier. Fortran 77 and on include the ability to index from any arbitrary integer, including negative ones.

You can declare a 21 element array indexed from -10 like so:

real x(-10:10)

So hopefully anyone familiar with Fortran isn't hung up on 1-based indices.

> "N̶o̶t̶ to be pedantic, [...]"

Yep, can't edit it now though :(

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.