-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
HousecleaningStuff related with style conventions, good practices, clean code, repo organization, etc.Stuff related with style conventions, good practices, clean code, repo organization, etc.
Description
Here we try to establish some conventions. Feel free to propose your own!
- All names and comments must be in English.
- Fortran keywords always lowercase. Example:
typerather thanTYPE. - No space with parenthesis when declaring variables. Example: write
type(edge_t)rather thantype (edge_t). - Fortran type names should end with
_t. Example: prefertype(cell_t)rather thantype(cell). - Fortran module names should end with
_m. Example: prefermodule mesh_mrather thanmodule mesh. - Prefer endings in two words. Example: prefer
end ifrather thanendif. - Do not use Fortran keywords as variable names. Example: do not use
sizeas variable name. - No space between
(and the interior of functions or during variable declaration. Example preferinteger(kindrather thaninteger ( kind - All
parametersmust be named with upper cased letters. Example: preferRKINDtorkind.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
HousecleaningStuff related with style conventions, good practices, clean code, repo organization, etc.Stuff related with style conventions, good practices, clean code, repo organization, etc.