Skip to content

Coding style is not clearly defined in documentation #26

@rmakynen

Description

@rmakynen

Currently the only mention about coding style is in readme: "This project considers the output of the IntelliJ IDEA IDE Reformat Code option as the gold standard."

This is not a very good way to do to declare the coding style, since it is not very specific and is subject to change. Also the user could have change the default coding style of IntelliJ IDE, which would still result in "gold standard code" due to being reformatted with the IntelliJ IDE.

Many users may prefer some other editor and needing to install Itelli J IDE just for reformatting adds extra effort for every pull request. Furthermore, default values can sometimes change, this type of thing has happened at least in some IDE's where suddenly the hotkeys for certain actions become different. As a result the coding style may suddenly change when Intelli IDE decides to change the default values.

Suggested change:
A better way to do this would be to declare a coding style that the repository follows. At a first glance, the coding style seems to conform to K&R style. We would like to add comments related to "K&R style" in the readme/Contribution guide. Benefits of this change would be the freedom to use any code editor the user chooses, since the coding style is now clearly defined (and not subject to change by IDE developers).

Our team is interested in doing this change (Riku, Benjamin, Pirkka-Pekka)

EDIT: We will start working on this change on the week: 11.11.2019 - 17.11.2019

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions