-
Notifications
You must be signed in to change notification settings - Fork 55
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
Proper code style: Refactoring #117
Comments
Sounds good. |
Sure, this is totally fine. Just tell me, as soon as the PR #97 is merged. Of course, we can discuss the style guidelines first. Have you already had a look at the JetBrains CLion code style formatter? It sticks to what Arduino code style guidelines are recommending and also to a general propper C style. Tell me what you think about it. |
I have merged PR #97 now. |
An *.md sounds reasonable. You could also create a Wiki page here and refer to it. But I guess this is not a big deal at all. Finding and committing to a proper style guide is the bigger task. Did you have a chance to check, e.g. the code formatter of CLion? After PR #97 is already merged, I could also just send you a new pull request with properly reformated code so you would have a better idea what I am talking about. What do you think? |
*ping |
@dspverden are we still on the same page about this idea? |
Just send a PR and I will have a look. |
Okay, I will do so based on the latest develop branch. CLion is just an IDE which used an general state of the art code formatter, which is absed on any specific code style. I will just send you a PR in the next days. A lot of files will contain changes, but just formatting changes, no logic changes. |
ok, looking forward to it. |
I have got you the PR #124. Let me know what you think about it :-) |
Dear @dspverden,
I would like to contribute more and more to this project, since I really like it and use my aurora daily. I already have some custom modifications to this code held in my GitHub repository fork.
What I really have noticed is that the code styling is somehow odd. I couldn't figure out, yet, to what code style / IDE settings you stick to. I would like to propose to stick to the Arduino code style guidelines:
If you agree, I could reformat the code of the
develop
branch and send you a pull request. What do you think?This will make the code very readable and better maintanable compared to the current code style in my opinion (also other Arduino projects have shown sticking to a proper code style increases the coding efficiency).
The text was updated successfully, but these errors were encountered: