3 ms·
Out of curiosity, why do you prefer Fortran? Note: preemptive clarity: this isn't a language flamewar thing, I'm genuinely curious.
by hdevalence 13y ago
Out of curiosity, why do you prefer Fortran?
Note: preemptive clarity: this isn't a language flamewar thing, I'm genuinely curious.
- Beliavsky 13y agoArrays in Fortran 90+ are a powerful feature -- there are whole array operations and operations on array slices, as in Matlab and Python with numpy. It's easy to allocate multidimensional arrays. Compilers are good at optimizing code -- if it's easiest to do something with loops you can go ahead and not worry about vectorizing the code, as you might with R or Matlab. There is a lot of statistics code in Fortran, so it's good to have at least a reading knowledge of it.
- clarecorthell 13y agoThis is why I'm so in love with pandas (pandas.pydata.org) -- Wes McKinney did the world a favor creating a library with powerful, manipulable multidimensional data structures