# Re: "Modern Fortran Explained": announcement

*From*: "Colin Watters" <boss@xxxxxxxxxxxxx>*Date*: Tue, 29 Mar 2011 18:09:47 +0100

"Daniel Carrera" <daniel@xxxxxxxxx> wrote in message

news:imq7gp$u2k$1@xxxxxxxxxxxxxxxx

On 03/28/2011 04:18 PM, Beliavsky wrote:

If I were teaching programming to someone interested in physics or

engineering, I might start with a Python (with the SciPy package) or

Octave.

I'm not a fan of Python's syntax, or SciPy's separation of matrices vs

narrays. So I'd vote for Octave.

I wish there was an Octave-like interactive program with a slightly more

Fortran-like syntax.

One such book is "Python Scripting

for Computational Science" (2008) by Hans Petter Langtangen, but the

Fortran code in that book uses the F77 style, because that's what the

Python wrapping tools in the book handle...

I've been thinking lately about how I would design a course on scientific

computing that taught Fortran. My first goal would be to force everyone

to use strictly modern Fortran, and I think you can do that with only

three simple rules:

1. The program must compile without warnings with gfortran -std=f2008

2. *ALL* procedures must be in modules.

3. Every module must start with "implicit none".

4. The COMMON statement is forbidden.

--

Qolin

Email: my qname at domain dot com

Domain: qomputing

.

**References**:**"Modern Fortran Explained": announcement***From:*m_b_metcalf

**Re: "Modern Fortran Explained": announcement***From:*Beliavsky

**Re: "Modern Fortran Explained": announcement***From:*Daniel Carrera

- Prev by Date:
**Re: Help: Presentation about Fortran** - Next by Date:
**Re: Help: Presentation about Fortran** - Previous by thread:
**Re: "Modern Fortran Explained": announcement** - Next by thread:
**Read a list with undefined length** - Index(es):