{"action":"created","issue":{"url":"https://api.github.com/repos/IENT/YUView/issues/20","labels_url":"https://api.github.com/repos/IENT/YUView/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/IENT/YUView/issues/20/comments","events_url":"https://api.github.com/repos/IENT/YUView/issues/20/events","html_url":"https://github.com/IENT/YUView/issues/20","id":117624010,"number":20,"title":"Coding style","user":{"login":"ChristianFeldmann","id":11556397,"avatar_url":"https://avatars.githubusercontent.com/u/11556397?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristianFeldmann","html_url":"https://github.com/ChristianFeldmann","followers_url":"https://api.github.com/users/ChristianFeldmann/followers","following_url":"https://api.github.com/users/ChristianFeldmann/following{/other_user}","gists_url":"https://api.github.com/users/ChristianFeldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianFeldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianFeldmann/subscriptions","organizations_url":"https://api.github.com/users/ChristianFeldmann/orgs","repos_url":"https://api.github.com/users/ChristianFeldmann/repos","events_url":"https://api.github.com/users/ChristianFeldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianFeldmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-18T16:25:55Z","updated_at":"2015-11-18T16:31:33Z","closed_at":null,"body":"Do we have a common Coding style (how many spaces/tabs where, how to blache curly brackets...) "},"comment":{"url":"https://api.github.com/repos/IENT/YUView/issues/comments/157769344","html_url":"https://github.com/IENT/YUView/issues/20#issuecomment-157769344","issue_url":"https://api.github.com/repos/IENT/YUView/issues/20","id":157769344,"user":{"login":"ChristianFeldmann","id":11556397,"avatar_url":"https://avatars.githubusercontent.com/u/11556397?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristianFeldmann","html_url":"https://github.com/ChristianFeldmann","followers_url":"https://api.github.com/users/ChristianFeldmann/followers","following_url":"https://api.github.com/users/ChristianFeldmann/following{/other_user}","gists_url":"https://api.github.com/users/ChristianFeldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianFeldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianFeldmann/subscriptions","organizations_url":"https://api.github.com/users/ChristianFeldmann/orgs","repos_url":"https://api.github.com/users/ChristianFeldmann/repos","events_url":"https://api.github.com/users/ChristianFeldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianFeldmann/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T16:31:33Z","updated_at":"2015-11-18T16:31:33Z","body":"I would suggest:\r\n- Indentation 2 spaces (no Tabs - tabs just always look different depending on your IDE)\r\n- Curly brackets. I Like\r\n```c++\r\nif (isAwesome) {\r\n  i = i+2;\r\n  i--;\r\n}\r\n```\r\n- I also like the \"no brackets for one if/else:\r\n```c++\r\nif (isAwesome)\r\n  i = i+2;\r\nelse\r\n  i--;\r\n```\r\n"}}