<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/what-programming-languages-are-used-most-on-weekends/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://juliasilge.com/blog/Weekends-Weekdays/"> data science ish</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><em>Note: Cross-posted <a target="_blank" rel="nofollow" href="https://stackoverflow.blog/2017/02/What-Programming-Languages-Weekends/">with the Stack Overflow blog</a>. Check out the code for this analysis <a target="_blank" rel="nofollow" href="https://www.kaggle.com/juliasilge/d/stackoverflow/stacklite/weekends-and-weekdays/code">on Kaggle</a>.</em></p>
<p>For me, the weekends are mostly about spending time with my family, reading for leisure, and working on the open-source projects I am involved in. These weekend projects overlap with the work that I do in my day job here at Stack Overflow, but are not exactly the same. Many developers tinker with side projects for learning or career development (or just for fun!) and at Stack Overflow, we support all types of technologies, from professional to hobbyist. Whenever people are working, we’re available to answer their questions. But what languages tend to be asked about on weekends, as opposed to weekdays?</p>
<p>Let’s use our public <a target="_blank" rel="nofollow" href="https://www.kaggle.com/stackoverflow/stacklite">StackLite dataset</a> on Kaggle to explore differences between questions that are posted on weekdays and weekends. This dataset is available for anyone to analyze; you can use a Kaggle Kernel to get started on your own question about Stack Overflow questions and tags.</p>
<h2>Comparing tags</h2>
<p>For this analysis, we will use non-deleted questions and tags used on more than 10,000 questions. We defined weekends using UTC dates, which may not exactly overlap the weekend for all users. Overall, this includes 10,451,274 questions on weekdays and 2,132,073 questions on weekends. The difference in number there is mostly due to people largely using Stack Overflow for their jobs on weekdays, and we see this pattern both in questions posted and traffic to our site.</p>
<p>Because of this weekday/weekend pattern, we’re not interested in whether tags were busier on weekends than weekdays; basically all tags are busier on weekdays. Instead, let’s explore which tags made up a larger share of weekend questions than they did of weekday questions, and vice versa.</p>
<p>Which question tags have the biggest difference in relative frequency?</p>
<p><img alt="comparing weekends and weekdays" src="https://i1.wp.com/juliasilge.com/figs/2017-02-07-Weekends-Weekdays/tag_by_weekday_weekend_graph-1.png?w=456" data-recalc-dims="1"></p>
<p>To explain this a bit more, let’s look at some numbers. The programming language Haskell makes up 0.365% of weekend questions in this dataset, but only 0.21% of weekday questions, showing it is unusually popular on weekends. Sharepoint makes up 0.0683% of weekend questions, and 0.188% of weekday questions, showing it is more often used on weekdays.</p>
<p>It brings me great delight that the functional programming language Haskell leads up the weekend-shifted technologies, because this is basically me:</p>
<p><img alt="Haskell cat" src="https://i1.wp.com/juliasilge.com/figs/2017-02-07-Weekends-Weekdays/learn_haskell.jpg?w=456" data-recalc-dims="1"></p>
<p>I haven’t learned Haskell. But kudos to all of you who are using your weekends to do so! And now enjoy <a target="_blank" rel="nofollow" href="https://xkcd.com/1312/">this joke</a> about Haskell, which is a language popular among academics and mathematicians but not typically used in corporate environments.</p>
<p>Let’s make some other observations!</p>
<ul>
<li>We see some low-level technologies are popular on weekends, such as C, C++, pointers, and assembly, as well as tags related to math, such as algorithm, recursion, and (of course) math.</li>
<li>Heroku and Meteor are app platforms often used for rapid prototyping, which may suggest they are being used for weekend hobbyist projects.</li>
<li>Many of the weekday-shifted technologies are connected to Microsoft, including tags related to Excel, SQL Server, VBA, and T-SQL. Others include enterprise technologies such as Oracle.</li>
</ul>
<p>We can also visualize these relationships by comparing the total number of questions to the relative frequencies.</p>
<p><img alt="weekday weekend scatterplot" src="https://i1.wp.com/juliasilge.com/figs/2017-02-07-Weekends-Weekdays/tag_by_weekday_weekend_scatter-1.png?w=456" data-recalc-dims="1"></p>
<p>Tags that are further to the right in this plot (JavaScript, Java, C#, PHP, etc.) have more questions asked about them, and tags that are further to the left have fewer questions asked about them. Tags that appear close to the dashed line have about an equal share of weekend questions as weekday questions, and tags that are farthest from the dashed line exhibit the largest weekend/weekday differences.</p>
<p>We can see again that most of the popular tags that are weekday-shifted are connected to Microsoft (C#, ASP.NET, SQL Server, Excel, VBA) and many of the weekend-shifted tags include technologies like C and C++, as well as newer languages such as Swift and Node.js.</p>
<h2>Working for the weekend</h2>
<p>We can also use this dataset to examine how developers have changed how they use these technologies over time. We can use modeling to find the tags whose weekend proportion (the percentage of questions that are asked on the weekend) has changed the most over time. For tags with more than 20,000 questions, which ones are being posted about less on weekends now compared to the past?</p>
<p><img alt="decreasing" src="https://i2.wp.com/juliasilge.com/figs/2017-02-07-Weekends-Weekdays/decreasing-1.png?w=456" data-recalc-dims="1"></p>
<p>We see tags here like Ruby on Rails and Scala that developers used at a higher rate on weekends several years ago, but now use at a lower rate on weekends and more on weekdays. These technologies were more weekend-oriented in the past, but are now proportionally part of more developers’ weekday work lives. The version control system SVN also decreased in weekend use over these years; most likely the advent of GitHub (launched in 2008) has led to fewer people using SVN to manage code for personal weekend projects.</p>
<p><img alt="increasing" src="https://i1.wp.com/juliasilge.com/figs/2017-02-07-Weekends-Weekdays/increasing-1.png?w=456" data-recalc-dims="1"></p>
<p>If we look for the tags that have increased the most in weekend activity, we see the game engine Unity3D, as well as a number of tags used for building mobile apps. It looks like developers are designing more games and apps on the weekends now than in previous years. A good way to spend a weekend!</p>
<p>We used <a target="_blank" rel="nofollow" href="https://www.kaggle.com/stackoverflow/stacklite">openly accessible data</a> to do this analysis, and look forward to seeing what other developers in our community may find by exploring the data products that we make available.</p>
<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://juliasilge.com/blog/Weekends-Weekdays/"> data science ish</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/search/data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/search/map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/search/animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/search/sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/search/SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/search/git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/search/hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/search/PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/search/time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/search/trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/GmbRPWvgfBk"></a></div>