Skip to content

Comments

Refactoring conditional directives that break parts of statements.#140

Open
lzmths wants to merge 1 commit intoElyotna:masterfrom
lzmths:master
Open

Refactoring conditional directives that break parts of statements.#140
lzmths wants to merge 1 commit intoElyotna:masterfrom
lzmths:master

Conversation

@lzmths
Copy link

@lzmths lzmths commented Dec 13, 2015

A suggestion to compile entire statements and expressions, as suggested by code style guidelines from the Linux Kernel and practitioners.

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/CodingStyle#n892
https://www.cqse.eu/en/blog/living-in-the-ifdef-hell/

It might improve code understanding, maintainability and error-proneness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant