\n\nComputer programmers, IT specialists, and hackers are often depicted in popular works of fiction, from books, movies, to TV shows. On the \u003Ca href=\"https://stackoverflow.com/insights/survey/2017/\">2017 Developer Survey\u003C/a>, we asked respondents about depictions of what it's really like to be a programmer. This was one of my favorite questions on the survey this year, and analyzing these results has been quite the glimpse into the opinions of our community.\n\n\u003Ch2>Text Mining the Survey Responses\u003C/h2>\n\nThere were 10,983 respondents who answered this question on the survey about fictional characters, and respondents answered one of four possible versions of this question:\n\n\u003Cul>\n\u003Cli>most realistic,\u003C/li>\n\u003Cli>least realistic,\u003C/li>\n\u003Cli>most inspiring, or\u003C/li>\n\u003Cli>most annoying.\u003C/li>\n\u003C/ul>\n\nThis question was open-ended, with a free text field that respondents could type anything into. Let's use some text mining to explore the individual words our survey respondents used to answer this question.\n\n\u003Cimg class=\"size-large wp-image-6801 aligncenter\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/03/network-1-1024x896.png\" alt=\"\" width=\"1024\" height=\"896\" />Many of our users responded with Elliot Alderson from \u003Cem>Mr. Robot\u003C/em> as a realistic depiction of a programmer, with other strong showings from the characters of \u003Cem>Office Space\u003C/em> (such as \u003Ca href=\"http://www.rollingstone.com/movies/news/flashback-office-space-gleefully-mocks-michael-bolton-20160630\">rap aficionado Michael Bolton\u003C/a>) and \u003Cem>Silicon Valley\u003C/em>. I'll admit I was a little surprised to see \u003Cem>The Matrix\u003C/em> with so many answers on this question, as I can't say that I personally have ever fought off evil agents in bullet time.\n\nAfter we explored the words our survey respondents used to describe fictional programmers and hackers, we categorized individual words into larger groups for specific characters, using word correlations and word networks like those shown above. After this categorization, we can see what proportion of our respondents gave various answers for this question.\n\u003Cimg class=\"size-large wp-image-6802 aligncenter\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/03/percents-1-922x1024.png\" alt=\"\" width=\"922\" height=\"1024\" />\n\nNotice that our survey respondents identified many of the same fictional characters for all of these categories, just with different proportions. The protagonist in \u003Cem>Mr. Robot\u003C/em> is a common choice in all categories but is the most common choice, by a wide margin, for most realistic and inspiring. The characters from \u003Cem>Silicon Valley\u003C/em> are often identified as realistic and sometimes chosen as annoying but were not a significant choice as unrealistic. Stanley Jobson from \u003Cem>Swordfish\u003C/em> is identified as both annoying and unrealistic. Sheldon Cooper from \u003Cem>The Big Bang Theory\u003C/em> is a common choice for annoying and is sometimes chosen for realistic, but is not a significant choice for unrealistic.\n\n\u003Ch2>Comparing Character Choices\u003C/h2>\n\nGiven how many respondents on our survey chose the most common answers across all versions, let's look at differences between the four versions. Which characters were respondents more likely to choose for one version of the question compared to others? Let's start by comparing only most and least realistic.\n\n\u003Cimg class=\"size-large wp-image-6803 aligncenter\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/03/realistic_compare-1-1024x878.png\" alt=\"\" width=\"1024\" height=\"878\" />\nTelevision characters from shows like \u003Cem>CSI\u003C/em>, \u003Cem>NCIS\u003C/em>, \u003Cem>Arrow\u003C/em>, and \u003Cem>Criminal Minds\u003C/em> make up many in the least realistic group. The characters from \u003Cem>Hackers\u003C/em> were also voted unrealistic, which is heartening, because how many us have rollerbladed with a gang of our coworkers? Survey respondents were likely to identify the developers in \u003Cem>Office Space\u003C/em>, Dilbert, and Cameron Howe from \u003Cem>Halt and Catch Fire\u003C/em> as most realistic. And Maurice Moss! Who among us hasn't experienced something like this in our work?\n\n\u003Cimg class=\"size-full wp-image-6800 aligncenter\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/03/fire.gif\" alt=\"\" width=\"500\" height=\"272\" />\n\n \n\nWe can similarly compare each of the four versions to the overall choices made by respondents on this question and find which fictional characters were more likely to be chosen for each version.\n\n\u003Cimg class=\"size-large wp-image-6805 aligncenter\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/03/all_compare-1-1024x832.png\" alt=\"\" width=\"1024\" height=\"832\" />I have now added watching the short film \u003Cem>Kung Fury\u003C/em> to my plans for the weekend; its character Hackerman was identified as one of the least realistic relative to the choices made in the other group. I love seeing Neal Stephenson's wonderful novel \u003Cem>Snow Crash\u003C/em> show up in the analysis here, as one of the most inspiring portrayals of hackers in fiction.\n\nI'm interested in women in tech, so let's take a quick glance at words chosen at higher rates by men and women (including those who identified as transgender men and women) in the survey, for all the question options as a whole.\n\n\u003Cimg class=\"alignnone wp-image-6846 size-large\" src=\"https://stackoverflow.blog/wp-content/uploads/2017/03/compare_sex-1-1-1024x1024.png\" alt=\"\" width=\"1024\" height=\"1024\" />\n\nWomen and men both gave the common answers at high rates, but this plot shows characters that women or men identified more often relative to the other group. Women were much more likely to identify fictional characters who are women, like Penelope Garcia in \u003Cem>Criminal Minds\u003C/em> and Lisbeth Salander in \u003Cem>The Girl with the Dragon Tattoo\u003C/em>. (Remember that this is not necessarily in a positive context!) Men were much more likely to identify fictional characters who are men, such as Mark Zuckerberg (fictional?), a James Bond villain, and Tony Stark. We all love Iron Man, of course, but this is a nice reminder that representation matters; it is helpful to see lots of different kinds of people working as developers, both in fiction and real life.\n\n\u003Ch2>Conclusion\u003C/h2>\n\nWe can say that the television show \u003Cem>Mr. Robot\u003C/em> is having a moment, for the developer community at least. The main character was one of the top choices in all versions of this question, and thus is perhaps the most/least realistic/annoying/inspiring portrayal of what it's like to be a computer programmer today.\n\nMore seriously, when we look beyond the fact that respondents gave common answers to all the versions of this question at high rates, we see interesting differences between the four versions. Tony Stark was chosen at a high rate for inspiring, and Sheldon from \u003Cem>The Big Bang Theory\u003C/em> was often considered annoying. Characters from \u003Cem>Office Space\u003C/em> and \u003Cem>Silicon Valley\u003C/em> were often chosen for most realistic, and portrayals of computer programmers from works like \u003Cem>Hackers\u003C/em>, \u003Cem>CSI\u003C/em>, \u003Cem>Swordfish\u003C/em>, and \u003Cem>NCIS\u003C/em> were voted unrealistic.\n\nWorking on the analysis for the 2017 Stack Overflow Survey has been interesting and rewarding, and the results give us insight into how developers learn, work, and share. Check out the \u003Ca href=\"https://stackoverflow.com/insights/survey/2017/\">full report on our results\u003C/a> to learn more about the developer community, from technologies to geography to salaries.","html","2017-03-28T16:00:29.000Z",{"current":487},"realistic-developer-fiction",[489,497,502,507],{"_createdAt":490,"_id":491,"_rev":492,"_type":493,"_updatedAt":490,"slug":494,"title":496},"2023-05-23T16:43:21Z","wp-tagcat-announcements","9HpbCsT2tq0xwozQfkc4ih","blogTag",{"current":495},"announcements","Announcements",{"_createdAt":490,"_id":498,"_rev":492,"_type":493,"_updatedAt":490,"slug":499,"title":501},"wp-tagcat-insights",{"current":500},"insights","Insights",{"_createdAt":490,"_id":503,"_rev":492,"_type":493,"_updatedAt":490,"slug":504,"title":506},"wp-tagcat-stackoverflow",{"current":505},"stackoverflow","Stackoverflow",{"_createdAt":490,"_id":508,"_rev":492,"_type":493,"_updatedAt":490,"slug":509,"title":511},"wp-tagcat-survey",{"current":510},"survey","Survey","And the Most Realistic Developer in Fiction is...",[514,520,526,532],{"_id":515,"publishedAt":516,"slug":517,"sponsored":12,"title":519},"65472515-0b62-40d1-8b79-a62bdd2f508a","2025-08-25T16:00:00.000Z",{"_type":10,"current":518},"making-continuous-learning-work-at-work","Making continuous learning work at work",{"_id":521,"publishedAt":522,"slug":523,"sponsored":12,"title":525},"1b0bdf8c-5558-4631-80ca-40cb8e54b571","2025-08-21T14:00:25.054Z",{"_type":10,"current":524},"research-roadmap-update-august-2025","Research roadmap update, August 2025",{"_id":527,"publishedAt":528,"slug":529,"sponsored":12,"title":531},"5ff6f77f-c459-4080-b0fa-4091583af1ac","2025-08-20T14:00:00.000Z",{"_type":10,"current":530},"documents-the-architect-s-programming-language","Documents: The architect’s programming language",{"_id":16,"publishedAt":17,"slug":533,"sponsored":12,"title":20},{"_type":10,"current":19},{"count":535,"lastTimestamp":536},81,"2023-05-25T09:46:05Z",["Reactive",538],{"$sarticleModal":481},["Set"],["ShallowReactive",541],{"sanity-o-MlDAlR37gDia6CtakFMVV_gB_nJuJo5_u5lYutsDY":-1,"sanity-comment-wp-post-6796-1756154326731":-1},"/2017/03/28/realistic-developer-fiction/?cb=1"]