[OT] Re: Why Physicists Still Use Fortran

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Oct 16 18:56:03 UTC 2017


On Mon, Oct 16, 2017 at 11:42:56AM -0700, Manu wrote:
[...]
>    That... and they drive on the wrong side of the road! ;)
[...]

Ah!  Well, that is a different story, then. :D  My hometown also drives
on the wrong side of the road (I learnt driving after I left), and I'm
also still chickening out, in spite of having driven in LA.  :P  Well,
that, and over there there are no driving laws -- the so-called "laws"
are in practice only rarely-heeded recommendations.  You find 3 lanes of
moving cars on a 2-lane road, and people parallel-park leaving only 2
inches between cars.  Nope, not for me. :D

I suppose this is like Walter not daring to write code with 1-based
arrays. :D  On that note, though, in D I only rarely actually need to
specify explicit indices.  Foreach and generic code alleviates most
cases of explicit indexing I'd normally write in C/C++ code, and I
wouldn't be surprised if much of my code could actually be ported to
1-based indexing with only minor changes.

But I suppose if you're doing matrix/tensor math, you can't really avoid
this.


T

-- 
Democracy: The triumph of popularity over principle. -- C.Bond


More information about the Digitalmars-d mailing list