\n\nStack Overflow helps programmers do their jobs, so it's not surprising that our traffic spikes during the workday, with the site getting at least a million visits per hour between 9 a.m. and 5 p.m. You can even see a dip at 12 p.m. when developers eat lunch.\n\nAs observed in \u003Ca href=\"https://stackoverflow.blog/2017/02/07/what-programming-languages-weekends/\">a previous post\u003C/a>, Stack Overflow has considerably less activity on weekends, with particularly low traffic in the morning and no dip for lunch (developers use the weekend to sleep in!). We also notice Friday is lower than the other weekdays, particularly in the afternoon and evening.\n\nFor the rest of this post, we will consider \u003Cstrong>only Mondays through Thursdays\u003C/strong> to avoid differences in Friday traffic affecting the analysis.\n\n\u003Ch3>Differences across tags\u003C/h3>\n\nWe've seen at what times people visit Stack Overflow questions, but is that different for programmers that use particular programming languages?\n\nLet's consider the daily trend of visits to four popular programming languages: C, Python, Javascript, and C#. Note that we're normalizing to \"percentage of visits\" for that tag, so that larger tags can be compared with smaller ones.\n\n\u003Cimg class=\"alignnone size-large wp-image-6908\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/04/four_tag_graph-1-1024x640.png\" alt=\"\" width=\"1024\" height=\"640\" />\n\nWe can see that the overall trend is similar across the languages: programmers of all types use Stack Overflow at their jobs, go to sleep at night, take a break for lunch, and so on. However:\n\n\u003Cul>\n\u003Cli>\u003Cstrong>\u003Ca href=\"https://stackoverflow.com/jobs/developer-jobs-using-c%23?utm_source=so-owned&utm_medium=blog&utm_campaign=dev-c4al&utm_content=c4al-link\" target=\"_blank\" rel=\"noopener\">C# programmers\u003C/a> start and stop their day earlier\u003C/strong>, and tend to use the language less in the evenings (notice the difference in relative activity around 6-11 p.m.). This might be because C# is often used at finance and enterprise software companies, which often start earlier and have rigid schedules.\u003C/li>\n\u003Cli>\u003Cstrong>C programmers start the day a bit later, keep using the language in the evening, and stay up the longest.\u003C/strong> This suggests C may be particularly popular among hobbyist programmers who code during their free time (or perhaps among summer school students doing homework).\u003C/li>\n\u003Cli>\u003Cstrong>Python and Javascript are somewhere in between:\u003C/strong> Python and Javascript developers start and end the day a little later than C# users, and are a little less likely than C programmers to work in the evening.\u003C/li>\n\u003C/ul>\n\nIf you'd like to compare your favorite languages yourself, we've shared an \u003Ca href=\"https://dgrtwo.shinyapps.io/tag-traffic-hour/\">interactive app here\u003C/a>.\n\n\u003Ch3>What languages are used most between 9 to 5?\u003C/h3>\n\nThe above figure suggests that one of the most distinguishing features of a language is the \u003Cstrong>percentage of their traffic happening during the workday\u003C/strong>, specifically from 9 a.m. to 5 p.m. local time. Of the four languages in the above graph, C# would count as the \"most nine-to-five,\" and C as the least.\n\nAcross the 250 most common tags, which tags had the most or least of their traffic occurring during the workday?\n\n\u003Cimg class=\"alignnone size-large wp-image-6910\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/04/nine_to_five_bar-1-1024x1024.png\" alt=\"\" width=\"1024\" height=\"1024\" />\n\nThe technologies used predominantly during the workday include many Microsoft technologies, such as SQL Server, Excel, VBA, and Internet Explorer, as well as technologies like SVN and Oracle that are frequently used at enterprise software companies.\n\nOn the other side, many of the technologies used outside the workday include web frameworks like Firebase, Meteor, and Express, as well as graphics libraries like OpenGL and Unity. The functional language Haskell is the tag most visited \u003Cem>outside\u003C/em> of the workday; only half of its visits happen between 9 and 5.\n\nYou might recognize that many of these technologies mirror \u003Ca href=\"https://stackoverflow.blog/2017/02/07/what-programming-languages-weekends/\">our earlier analysis\u003C/a> about what technologies were used on weekdays and weekends, right down to Haskell, assembly and OpenGL leading the as \"most used outside working hours/days.\" It looks like both of these metrics are measuring something very similar.\n\nRather than looking at the most extreme, let's compare the languages to their relative frequencies of traffic.\n\n\u003Cimg class=\"alignnone size-large wp-image-6911\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/04/nine_to_five_scatter-1-1024x1024.png\" alt=\"\" width=\"1024\" height=\"1024\" />\n\nWe can see that of the most used programming technologies on Stack Overflow (more than 100,000 visits a day), C#, SQL, SQL Server and Excel stand out as being disproportionately used from 9 to 5, while Android, iOS, Swift, Node.JS, C++, and C are more visited outside of work hours.\n\nWe can pick a few interesting technologies and visualize them as an animation.\n\n\u003Cimg class=\"alignnone size-full wp-image-6917\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/04/tag_animation.gif\" alt=\"\" width=\"480\" height=\"480\" />\n\nNotice the Microsoft techologies (Excel, VBA, C#) rising in the morning first, then remaining in the \"lead\" during the nine-to-five hours. There's then a shift around 5 p.m. towards C/C++, mobile technologies and especially Haskell, which stands alone in the late evening.\n\n\u003Ch3>Which technologies are used by \"morning people\" or \"afternoon people\"?\u003C/h3>\n\nYou may have noticed in the above graphs that each of the tags had a spike in the afternoon relative to the morning. In fact, this was true of almost every tag in this dataset; they were all visited at least slightly more in the afternoon than in the morning. In some cases, the differences were larger than others.\n\nWe can calculate this as an \"morning / afternoon ratio,\" finding the relative traffic between 9 to 12 a.m. and dividing it by the traffic between 1 and 4 p.m. Thus, a high ratio (close to 1) means something was used about equally between the morning and the evening, while a low ratio means some developers started working on it later in the day.\n\n\u003Cimg class=\"alignnone size-large wp-image-6912\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/04/morning_afternoon-1-1024x1024.png\" alt=\"\" width=\"1024\" height=\"1024\" />\n\nWe can see a correlation with the \"nine-to-five\" metric we've been examining so far. Technologies that were used primarily from 9-5 were also likely to be used by \"morning people\". This makes sense to me; developers who always start their work day at 9 are more likely to finish it around 5 and not keep working into the evening.\n\nBut it's not a perfect correlation. For example, let's consider three technologies at extreme ends of the \"morning / afternoon\" ratio.\n\n\u003Cimg class=\"alignnone size-large wp-image-6913\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/04/afternoon_tag_graph-1-1024x640.png\" alt=\"\" width=\"1024\" height=\"640\" />\n\nNotice that SVN and Haskell fit the story that 9-to-5 workers are generally \"morning people\" and vice versa; SVN is strongly shifted towards 9-to-5 and is especially high-traffic from 10 to 11, while Haskell's traffic increases over the course of the workday then stays strong in the evening. Matplotlib shows a different trend: it has a pretty typical 9-to-5 ratio, but is used a lot more in the afternoon than the morning. Maybe Python data scientists just aren't morning people. (I use R rather than Python, but I empathize! And R is, similarly, a more \"afternoon\" technology than most.)\n\nAgain, feel free to try some of other technologies in the \u003Ca href=\"https://dgrtwo.shinyapps.io/tag-traffic-hour/\">interactive application\u003C/a>.\n\n\u003Ch2>By City\u003C/h2>\n\nSo far we've been comparing programming languages technologies. But as we saw in \u003Ca href=\"https://stackoverflow.blog/2016/11/30/how-do-developers-in-new-york-san-francisco-london-and-bangalore-differ/\">an earlier blog post\u003C/a>, it's also interesting to examine how Stack Overflow traffic differs across geographies.\n\nIn particular, let's consider the 50 cities with the most Stack Overflow traffic (during this month). In which cities did developers tend to visit between 9 to 5, or often visit outside of work hours?\n\n\u003Cimg class=\"alignnone size-large wp-image-6914\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/04/nine_to_five_city_bar-1-1024x731.png\" alt=\"\" width=\"1024\" height=\"731\" />\n\nThe cities that kept the strictest 9-to-5 hours were mostly in western Europe, such as London, Paris, Madrid, and Amsterdam. Many of the cities that tended to visit outside local working hours were in Eastern Asia (Quezon City, Tokyo, Seoul) or Eastern Europe (Moscow, Kiev), along with the Californian cities of Los Angeles and San Francisco. My own New York might be the \"city that never sleeps,\" but it's not especially notable for programming at night, ending up right around the median both globally and in the US.\n\nTo understand this, let's take a closer look at the cities at each extreme.\n\n\u003Cimg class=\"alignnone size-large wp-image-6915\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/04/city_examples-1-1024x640.png\" alt=\"\" width=\"1024\" height=\"640\" />\n\nLondon and Paris both show large spikes of traffic during the day and drop to low levels in the evening, in a pattern is roughly comparable with (for example) the average global C# visitor.\n\nThe trends of the other two cities may have to do with \u003Ca href=\"https://stackoverflow.com/jobs/remote-developer-jobs?utm_source=so-owned&utm_medium=blog&utm_campaign=dev-c4al&utm_content=c4al-link\" target=\"_blank\" rel=\"noopener\">remote work\u003C/a>. Some developers in Quezon City may work for American or European companies and keep nocturnal hours to improve collaboration. Moscow may be a similar case, where developers who work with American companies start later in the day.\n\nMy final (and favorite) observation is that developers in Paris take the longest and most consistent lunch breaks. Well, if I lived in Paris, I would too.\n\n ","html","2017-04-19T13:00:32.000Z",{"current":418},"programming-languages-used-late-night",[420,428],{"_createdAt":421,"_id":422,"_rev":423,"_type":424,"_updatedAt":421,"slug":425,"title":427},"2023-05-23T16:43:21Z","wp-tagcat-announcements","9HpbCsT2tq0xwozQfkc4ih","blogTag",{"current":426},"announcements","Announcements",{"_createdAt":421,"_id":429,"_rev":423,"_type":424,"_updatedAt":421,"slug":430,"title":432},"wp-tagcat-insights",{"current":431},"insights","Insights","What Programming Languages Are Used Late at Night?",[435,441,446,451],{"_id":436,"publishedAt":437,"slug":438,"sponsored":12,"title":440},"1d082483-6dc6-424b-8b09-9c84b54779da","2025-09-02T17:00:00.000Z",{"_type":10,"current":439},"back-to-school-developers-at-stack-overflow-have-some-advice-for-you","Back to school? Developers at Stack Overflow have some advice for you",{"_id":442,"publishedAt":437,"slug":443,"sponsored":12,"title":445},"5cd91820-9515-4be5-87ae-e919fd443c18",{"_type":10,"current":444},"getting-started-on-stack-overflow-a-step-by-step-guide-for-students","Getting started on Stack Overflow: a step-by-step guide for students",{"_id":447,"publishedAt":437,"slug":448,"sponsored":12,"title":450},"614538a9-c352-4024-adf1-fa44a9f911b6",{"_type":10,"current":449},"stack-overflow-is-helping-you-learn-to-code-with-new-resources","Stack Overflow is helping you learn to code with new resources",{"_id":452,"publishedAt":437,"slug":453,"sponsored":12,"title":455},"763b1d36-83d8-4178-9c2d-32d705ea1d7b",{"_type":10,"current":454},"introducing-your-newest-study-buddy-stackoverflow-ai","Introducing your newest study buddy: stackoverflow.ai",{"count":457,"lastTimestamp":458},108,"2023-05-25T09:46:05Z",["Reactive",460],{"$sarticleModal":461},false,["Set"],["ShallowReactive",464],{"sanity-JNwQYNHEvOpSC3-quG54_X_1U_rUtOGe9pxsmZrysS4":-1,"sanity-comment-wp-post-6904-1757280555725":-1},"/2017/04/19/programming-languages-used-late-night"]