From 667ee80ef651f9188d0b5d5fc4e387768c2e62d5 Mon Sep 17 00:00:00 2001 From: brindosch Date: Thu, 26 May 2016 23:42:23 +0200 Subject: [PATCH] add codingstyle.md Former-commit-id: 6f65784f8b0588351b1b89329bfaa59081630f50 --- CODING_STYLE.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 CODING_STYLE.md diff --git a/CODING_STYLE.md b/CODING_STYLE.md new file mode 100644 index 00000000..e7b18aec --- /dev/null +++ b/CODING_STYLE.md @@ -0,0 +1,19 @@ +### Please use the following code style/guidelines + +- use QT wherever it's possible (except there is a good reason) +- use unix line endings (not windows) +- indent your code with TABs instead of spaces +- follow this rule for curly brackets +``` +bad: +if (conditon) { + code +} + +good: +if (condition) +{ + code +} + +``` \ No newline at end of file