changeset 15:98e091b9251e

misc: update STYLE.md
author David Demelier <markand@malikania.fr>
date Tue, 07 Jan 2020 21:45:03 +0100
parents 61faa3054bed
children 621c815c9509
files STYLE.md
diffstat 1 files changed, 1 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/STYLE.md	Tue Jan 07 21:36:03 2020 +0100
+++ b/STYLE.md	Tue Jan 07 21:45:03 2020 +0100
@@ -17,32 +17,11 @@
 
 Note: we recommend 8 columns to avoid high number of indentations.
 
-Example (show whitespace in your editor)
-
-```cpp
-class foo {
-public:
-	enum type {
-		dummy_value,            // dummy comment
-		other_value             // other comment
-	};
-
-	void long_function_name(very_long_type x1,
-	                        very_long_type x2)
-	{
-		const map<string, string> m{
-			{ "hostname",   "127.0.0.1"     },
-			{ "port",       "6667"          }
-		};
-	}
-};
-```
-
 As a rule of thumb, tabs must always be all length.
 
 Example of incorrect usage:
 
-```cpp
+```c
 	{ "hostname",	"127.0.0.1"	},
 	{ "port",	"6667"		}
 ```