From be0e0703f28c575619cb671a4a44813206a3f388 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Mon, 3 Nov 2014 01:00:19 -0800 Subject: [PATCH] Remove file and class order guidelines --- doc/coding.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/doc/coding.md b/doc/coding.md index ceed8c18b..b9d2006e3 100644 --- a/doc/coding.md +++ b/doc/coding.md @@ -12,20 +12,6 @@ gradually. - No indentation for public/protected/private or for namespaces. - No extra spaces inside parenthesis; don't do ( this ) - No space after function names; one space after if, for and while. -- Includes need to be ordered alphabetically, separate own and foreign headers with a new-line (example key.cpp): -```c++ -#include "key.h" - -#include "crypto/sha2.h" -#include "util.h" - -#include -``` -- Class or struct keywords in header files need to be ordered alphabetically: -```c++ -class CAlpha; -class CBeta; -``` Block style example: ```c++