File tree Expand file tree Collapse file tree 1 file changed +5
-25
lines changed Expand file tree Collapse file tree 1 file changed +5
-25
lines changed Original file line number Diff line number Diff line change @@ -33,31 +33,11 @@ focus on the semantics of the proposed changes rather than style and formatting.
33
33
34
34
## Variable and procedure naming
35
35
36
- Variable names should be descriptive, and not artificially short.
37
- By default, where it makes sense to do so, variable names shall be made up of one or more full words separated by an underscore.
38
- For cases where a conventional & appropriate shortening of a word is used then the underscore may be omitted.
39
-
40
- Examples:
41
-
42
- __ GOOD__ :
43
-
44
- ``` fortran
45
- logical :: has_failed
46
- real function linspace(...)
47
- ```
48
-
49
- __ BAD__ :
50
-
51
- ``` fortran
52
- logical :: has_failed
53
- real function lin_space(...)
54
- ```
55
-
56
- ## Keyword case
57
-
58
- Fortran keywords should __ * not* __ be UPPERCASE.
59
- Modern editors and IDEs can highlight Fortran syntax and UPPERCASE keywords.
60
- UPPERCASE keywords give Fortran source code the appearance of being antiquated.
36
+ * Variable and procedure names, as well as Fortran keywords, should be written in lowercase
37
+ * Variable and procedure names should be made up of one or more full words separated by an underscore,
38
+ for example ` has_failed ` is preferred over ` hasfailed `
39
+ * Where conventional and appropriate shortening of a word is used then the underscore may be omitted,
40
+ for example ` linspace ` is preferred over ` lin_space `
61
41
62
42
## End <scope > block closing statements
63
43
You can’t perform that action at this time.
0 commit comments