Closed
Description
While reading the style guide STYLE_GUIDE.md
I noticed that the order of the attributes is not specified.
Going through the source files the order seems:
allocatable
dimension
intent(intent-spec)
optional
Although it is not clear if allocatable
should be after oder before dimension
Missing attributes I can think of right now are:
target
,pointer
parameter
public
,private
,protected
asynchronous
save
external
contiguous
volatile
So lets come up with a convention for the order of attributes.
Suggestion so far for STYLE_GUIDE.md
# Order of attributes
Similiar to the guidlines for indentation and whitespace, specifiying the order of appearance of attributes can help reviewing code and git-diffs.
1. ```allocatable```
2. ```dimension```
3. ```intent(<>)```
4. ...
Metadata
Metadata
Assignees
Labels
No labels