Re: Blog: Is Fortran better than Python for teaching the basics of numerical linear algebra?
Johann 'Myrkraverk' Oskarsson <[email protected]>
| Newsgroups | sci.math,comp.lang.fortran,comp.lang.python |
|---|---|
| Organization | Watcom Pro Ltd. |
| Message-ID | <[email protected]> |
On 07/09/2026 12:41 PM, Steven G. Kargl wrote: > On Sun, 6 Sep 2026 22:00:39 -0000 (UTC), Lawrence D’Oliveiro wrote: > >> On Sun, 6 Sep 2026 15:32:53 -0000 (UTC), Thomas Koenig wrote: >> >>> Fortran 77 makes little sense, modern Fortran variants (Fortran 90+) >>> are available with free compilers and offer much more comfort and >>> safety. >> >> Python offers custom operator overloads, so you can write actual >> operator expressions for addition, dot product etc -- closer in >> appearance to the actual maths -- instead of parenthesis-ridden >> function calls. > > Can we assume you know little to nothing about modern > Fortran? One can write custom operator overloads in > Fortran. Here's a Cartesian point with a translation > and scaling operators. > [snip program] Dear Steven, I'm pleased you've met Lawrence. He is in fact, not a programmer, but a /Pythong influencer/. I'm sure he gets paid by the post. I in fact did not know modern Fortran has operator overloading, as I haven't had a reason to use it since Fortran 77. It was a delightful experience I still remember. Thank you for the enlightenment! -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:;