{"id":228387,"date":"2026-01-09T03:23:07","date_gmt":"2026-01-09T03:23:07","guid":{"rendered":"https:\/\/www.newsbeep.com\/il\/228387\/"},"modified":"2026-01-09T03:23:07","modified_gmt":"2026-01-09T03:23:07","slug":"why-ai-is-pushing-developers-toward-typed-languages","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/il\/228387\/","title":{"rendered":"Why AI is pushing developers toward typed languages"},"content":{"rendered":"<p>It\u2019s a tale as old as time: tabs vs. spaces, dark mode vs. light mode, typed languages vs. untyped languages. <a href=\"https:\/\/www.youtube.com\/watch?v=aMWh2uLO9OM\" rel=\"nofollow noopener\" target=\"_blank\">It all depends<\/a>!<\/p>\n<p>But as developers use AI tools, not only are they choosing the more popular (thus more trained into the model) libraries and languages, they are also using tools that reduce risk. When code comes not just from developers, but also from their AI tools, reliability becomes a much bigger part of the equation.\u00a0<\/p>\n<p>Typed vs. untyped<\/p>\n<p>Dynamic languages like Python and JavaScript make it easy to move quickly when building, and developers who argue for those languages push for the speed and flexibility they provide. But that agility lacks the safety net you get with typed languages.<\/p>\n<p>Untyped code is not gone, and can still be great. I love, personally, that I can just write code and not define every aspect of something on my average side project. But, when you don\u2019t control every line of code, subtle errors can pass, unchecked. That\u2019s when the types-driven safety net concept becomes a lot more appealing, and even necessary. AI just increases the volume of \u201ccode you didn\u2019t personally write,\u201d which raises the stakes.\u00a0<\/p>\n<p>Type systems fill a unique role of surfacing ambiguous logic and mismatches of expected inputs and outputs. They ensure that code from any source can conform to project standards. They\u2019ve basically become a shared contract between developers, frameworks, and AI tools that are generating more and more scaffolding and boilerplate for developers.\u00a0<\/p>\n<p>With AI tools and agents producing larger volumes of code and features than ever, it only makes sense that reliability is more critical. And\u2026 that is where typed languages win the debate. Not because untyped languages are \u201cbad,\u201d but because types catch the exact class of surprises that AI-generated code can sometimes introduce.<\/p>\n<p>Is type safety that big of a deal?<\/p>\n<p>Yes!<\/p>\n<p>Next question.<\/p>\n<p>But actually though, a 2025 academic study found that <a href=\"https:\/\/arxiv.org\/pdf\/2504.09246\" rel=\"nofollow noopener\" target=\"_blank\">a whopping 94% of LLM-generated compilation errors were type-check failures<\/a>. Imagine how much your projects would improve if 94% of your failures went away! Your life would be better. Your skin would clear. You\u2019d get taller. Or at least you\u2019d have fewer \u201cwhy does this return a string now?\u201d debugging sessions.<\/p>\n<p>What Octoverse 2025 says about the rise of typed languages<\/p>\n<p><a href=\"https:\/\/github.blog\/news-insights\/octoverse\/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1\/\" rel=\"nofollow noopener\" target=\"_blank\">Octoverse 2025<\/a> confirmed it: TypeScript is now the most used language on GitHub, overtaking both Python and JavaScript as of August 2025. TypeScript grew by over 1 million contributors in 2025 (+66% YoY, Aug \u201825 vs. Aug \u201824) with an estimated 2.6 million developers total. This was driven, in part, by frameworks that scaffold projects in TypeScript by default (like Astro, Next.js, and Angular). But the report also found correlative evidence that TypeScript\u2019s rise got a boost from AI-assisted development.<\/p>\n<p>That means AI is influencing not only how fast code is written, but which languages and tools developers use. And typed ecosystems are benefiting too, because they help AI slot new code into existing projects without breaking assumptions.\u00a0<\/p>\n<p>It\u2019s not just TypeScript. Other typed languages are growing fast, too!\u00a0<\/p>\n<p>Luau, Roblox\u2019s scripting language, saw &gt;194% YoY growth as a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Gradual_typing\" rel=\"nofollow noopener\" target=\"_blank\">gradually typed<\/a> language. Typst, often compared to LaTeX, but with functional design and strong typing, saw &gt;108% YoY growth. Even older languages like Java, C++, and C# saw more growth than ever in this year\u2019s report.<\/p>\n<p>That means gradual typing, optional typing, and strong typing are all seeing momentum\u2014and each offers different levels of guardrails depending on what you\u2019re building and how much you want AI to automate.\u00a0\u00a0<\/p>\n<p>Where do we go from here?<\/p>\n<p>Type systems don\u2019t replace dynamic languages. But, they have become a common safety feature for developers working with and alongside AI coding tools for a reason. As we see AI-assisted development and agent development increase in popularity, we can expect type systems to become even more central to how we build and ship reliable software.<\/p>\n<p>Static types help ensure that code is more trustworthy and more maintainable. They give developers a shared, predictable structure. That reduction in surprises means you can be in the flow (<a href=\"https:\/\/flow.org\/\" rel=\"nofollow noopener\" target=\"_blank\">pun intended<\/a>!) more.<\/p>\n<p>Looking to stay one step ahead?\u00a0<a href=\"https:\/\/github.blog\/news-insights\/octoverse\/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1\/\" rel=\"nofollow noopener\" target=\"_blank\">Read the latest Octoverse report<\/a> and <a href=\"https:\/\/github.com\/features\/copilot\/cli?utm_source=blog-typed-untyped&amp;utm_medium=blog&amp;utm_campaign=universe25post\" rel=\"nofollow noopener\" target=\"_blank\">try Copilot CLI<\/a>.<\/p>\n<p>\t\tWritten by\t<\/p>\n<p>\t\t\t\t\t<img class=\"d-block circle\" src=\"https:\/\/www.newsbeep.com\/il\/wp-content\/uploads\/2026\/01\/1454517.png\" alt=\"Cassidy Williams\" width=\"80\" height=\"80\" loading=\"lazy\" decoding=\"async\"\/><\/p>\n<p>Cassidy is senior director for developer advocacy here at GitHub. She enjoys building software, advising startups, and teaching developers how to build better. She has a weekly newsletter at cassidoo.co\/newsletter where you can get her updates, practice coding problems, and a joke in your inbox!<\/p>\n","protected":false},"excerpt":{"rendered":"It\u2019s a tale as old as time: tabs vs. spaces, dark mode vs. light mode, typed languages vs.&hellip;\n","protected":false},"author":2,"featured_media":228388,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[345,343,344,85,46,125],"class_list":{"0":"post-228387","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-artificial-intelligence","8":"tag-ai","9":"tag-artificial-intelligence","10":"tag-artificialintelligence","11":"tag-il","12":"tag-israel","13":"tag-technology"},"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts\/228387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/comments?post=228387"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts\/228387\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/media\/228388"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/media?parent=228387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/categories?post=228387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/tags?post=228387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}