Credit: flickr/Michael Himbeault
Programmers usually adhere to certain conventions when writing code, such as using spaces instead of tabs (or vice versa) when indenting code. These conventions can differ across programming languages and organizations and even from developer to developer. But which conventions are most commonly followed? A new tool that grew out of a recent GitHub data challenge now helps to identify the most popular coding conventions. By looking at millions of recent GitHub commits, Popular Convention by JeongHoon Byun identifies the rates at which programmers are following common conventions for a number of popular programming languages. Using this tool, here are 9 coding conventions that developers seem to (almost) agree on.