Skip to content

Commit 3fade86

Browse files
committed
docs: use only standard Fortran
Add @longb's suggestion to only use standardized language features and not obsolescent or deleted features and vendor extensions.
1 parent f56de5a commit 3fade86

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

STYLE_GUIDE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ This allows code review discussions to focus on semantics and substance rather t
66
Consistent whitespace usage, and not poluting line endigs with trailing white space makes `git diff`s considerably more legible.
77
This style guide is a living document and proposed changes may be adopted after discussing them and coming to a consensus.
88

9+
## Use (modern) standard Fortran
10+
11+
* Do not use obsolescent or deleted language features
12+
E.g., `common`, `pause`, `entry`, arithmetic `if` and computed `goto`
13+
* Do not use vendor extensions in the form of non-standard syntax and vendor supplied intrinsic procedures
14+
E.g., `real*8` or `etime()`
15+
916
## File naming conventions
1017

1118
* Source files should contain at most one `program`, `module`, or `submodule`.

0 commit comments

Comments
 (0)