News for hackers. Stuff that matters.
Re:Why physicists still use Fortran (2015) by Turing_Machine on Sunday October 15, 2017 @08:07PM (#15480065)
Can verify that if you give numerical methods people C you may get wonders like (e.g.) main() functions that are 30 pages long.

No, I'm not kidding.

I shudder to think what they'd have done with C++. :-)

Re:Why physicists still use Fortran (2015) by hzhou321 on Monday October 16, 2017 @01:03AM (#15480948)
Don't be so assumptive that a 30 page long main function is bad code. The code still can be well organized and readable. Function is not the only method to organize code. Knuth's literate programming for example is invented to better organize code.

Function has its side effects. It's use as only once case is really questionable, justified by lack of other means.