Earlier quoted context omitted.
> Researchers / scientists will rarely even write functions. It's that small of a scope Scientific computing can mean so many different things that if feels like some of us are talking past each other in this thread. The person in the article talks about needing to get out every ounce of performance and writing an application that identifies genome variants at scale. You're talking code so small that it doesn't need…
I think I'm in agreement with you. One usually needs Fortran or C++ or Matlab or Python with Numpy for numerical computing that is doing matrix or sparse matrix work (a lot of numerical computing is like this). I don't know of any uses that are so small as to not need functions outside of some extremely small/simplified models for explanatory purposes. There is also symbolic mathematics that Mathematica really excels…
Assuming that "ask" was a typo and you meant "awk", awk does support user-defined functions, as does bash.
https://www.gnu.org/software/gawk/manual/html_node/User_002d...
https://tldp.org/LDP/abs/html/functions.html
The support for that in both is somewhat limited as compared to "full" programming languages, though.