-
Notifications
You must be signed in to change notification settings - Fork 19
[META] Writing a code style standard like PEP8 for Fortran #118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is interesting. Could you elaborate more on this? What is this, who
publishes it etc? I wonder if that would let off some pressure for
"discouraging users from writing bad code" from the standarization entity.
wt., 17 gru 2019 o 16:49 Libavius <[email protected]> napisał(a):
… Should we have a unified recommended code style standard like PEP8 for
Fortran?
The best there is atm are the Rules in 'Modern Fortran: Style and Usage'.
However, this is not open-source...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#118?email_source=notifications&email_token=AC4NA3PT54ORTUO24WKA24DQZDYIPA5CNFSM4J35RUQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IBCZQLQ>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC4NA3K5F3W2DQ6HW46VI7DQZDYIPANCNFSM4J35RUQA>
.
|
I just updated the original post with a link to pythons PEP8 and a few Fortran style guides I found in the internet. |
I would whole heartedly be in favor of this. In fact, I've put together style guides based on documents from NASA, JPL, Google, and PEP8, ProgrammingStandards.pdf. I've got several open source libraries out there in this style. |
The guidelines in all style guides I've seen, including a couple linked here that I skimmed, fall mostly into two categories. One is "best practices", things like always use |
Isn't the "coding style" discussion more suited to, for example, stdlib rather than a proposal for the standard...? Because they include actual working codes, beginners can learn much from their coding style. |
Uh oh!
There was an error while loading. Please reload this page.
Should we have a unified recommended code style standard like PEP8 for Fortran?
If there is constent, that this'd be helpful, I can open a repo for it.
I found the following repo browsing the internet:
Rules in 'Modern Fortran: Style and Usage' (Book)
http://fortranwiki.org/fortran/show/Source+conventions
https://www.fortran90.org/src/best-practices.html
https://github.com/kramer314/fortran-style-guide
https://github.com/compas/grasp/wiki/WIP:-Code-style-conventions
The text was updated successfully, but these errors were encountered: