{"id":215702,"date":"2017-06-16T08:01:45","date_gmt":"2017-06-16T06:01:45","guid":{"rendered":"http:\/\/mybroadband.co.za\/news\/?p=215702"},"modified":"2017-06-16T08:03:09","modified_gmt":"2017-06-16T06:03:09","slug":"programmers-who-use-spaces-earn-more-than-those-who-use-tabs","status":"publish","type":"post","link":"https:\/\/mybroadband.co.za\/news\/software\/215702-programmers-who-use-spaces-earn-more-than-those-who-use-tabs.html","title":{"rendered":"Programmers who use spaces earn more than those who use tabs"},"content":{"rendered":"<p>Stack Overflow has released data from its 2018 Developer Survey, revealing there is a correlation between the style of indentation a developer uses and their salary.<\/p>\n<p>The conclusion was drawn by analysing data from\u00a028,657 survey respondents who provided an answer to tabs vs spaces, and who considered themselves a professional developer.<\/p>\n<p>Within this group, 40.7% used tabs and 41.8% used spaces. 17.5% used both.\u00a0Of this group, 12,426 provided their salary.<\/p>\n<p>Regardless of how the variables were analysed, Stack Overflow found that developers who used spaces for indentation earned more than those who used tabs.<\/p>\n<p>The graphs below show the data plotted against years of experience, language, type of developer, and when fitting a linear regression.<\/p>\n<p>Stack Overflow&#8217;s linear regression took the following into account:<\/p>\n<ul>\n<li>Tabs vs spaces.<\/li>\n<li>Country.<\/li>\n<li>Years of programming experience.<\/li>\n<li>Developer type and language.<\/li>\n<li>Level of formal education.<\/li>\n<li>Whether they contribute to open source.<\/li>\n<li>Whether they program as a hobby.<\/li>\n<li>Company size.<\/li>\n<\/ul>\n<p>By predicting the logarithm of the salary, it said it was able to estimate the percentage\u00a0change each factor contributed to a salary.<\/p>\n<ul>\n<li>The model estimated that using spaces instead of tabs leads to a 8.6% higher salary.<\/li>\n<li>Put another way, using spaces instead of tabs was worth as much as an extra 2.4 years of experience.<\/li>\n<\/ul>\n<hr \/>\n<h3 class=\"my-4\">Years of experience<\/h3>\n<p><a href=\"http:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Salary.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-215726\" src=\"http:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Salary.jpg\" alt=\"Salary\" width=\"640\" height=\"457\" srcset=\"https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Salary.jpg 1024w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Salary-560x400.jpg 560w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Salary-768x548.jpg 768w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Salary-602x430.jpg 602w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<hr \/>\n<h3 class=\"my-4\">Language and type of developer<\/h3>\n<p><a href=\"http:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Tab-Space.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-215728\" src=\"http:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Tab-Space.jpg\" alt=\"Tab Space\" width=\"640\" height=\"448\" srcset=\"https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Tab-Space.jpg 1024w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Tab-Space-571x400.jpg 571w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Tab-Space-768x538.jpg 768w, https:\/\/mybroadband.co.za\/news\/wp-content\/uploads\/2017\/06\/Tab-Space-614x430.jpg 614w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<hr \/>\n<h3 class=\"my-4\">Now read:\u00a0<a href=\"http:\/\/mybroadband.co.za\/news\/software\/203762-most-popular-programming-languages-in-the-world-2.html\">Most popular programming languages in the world<\/a><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Stack Overflow has released data from its 2018 Developer Survey, revealing interesting findings.<\/p>\n","protected":false},"author":23,"featured_media":175245,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sma_x_autopost_status":"idle","_sma_x_autopost_error":"","_sma_x_post_id":"","_sma_facebook_post_id":"","_sma_instagram_post_id":"","_sma_threads_post_id":"","_sma_x_attempts":0,"footnotes":""},"categories":[16],"tags":[35,42624,29684,43930],"class_list":["post-215702","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-headline","tag-software-developers","tag-stack-overflow","tag-stack-overflow-developer-survey-2017"],"_links":{"self":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/215702"}],"collection":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/comments?post=215702"}],"version-history":[{"count":1,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/215702\/revisions"}],"predecessor-version":[{"id":215724,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/posts\/215702\/revisions\/215724"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/media\/175245"}],"wp:attachment":[{"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/media?parent=215702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/categories?post=215702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mybroadband.co.za\/news\/wp-json\/wp\/v2\/tags?post=215702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}