{"id":7055,"date":"2026-11-16T04:07:40","date_gmt":"2026-11-16T07:07:40","guid":{"rendered":"https:\/\/tucumandevelopers.com\/index.php\/2026\/11\/16\/ai-models-hate-python-and-love-php-we-asked-12-of-them-1200-times\/"},"modified":"2026-11-16T04:07:40","modified_gmt":"2026-11-16T07:07:40","slug":"ai-models-hate-python-and-love-php-we-asked-12-of-them-1200-times","status":"publish","type":"post","link":"https:\/\/tucumandevelopers.com\/index.php\/2026\/11\/16\/ai-models-hate-python-and-love-php-we-asked-12-of-them-1200-times\/","title":{"rendered":"AI models hate Python and love PHP: we asked 12 of them 1,200 times"},"content":{"rendered":"<div>\n<div>\n<section data-clarity-region=\"article\">\n<div>\n<h2 id=\"major-updates\">AI models hate Python and love PHP: we asked 12 of them 1,200 times<\/h2>\n<p><em>1,200 hot takes, 14 \u201crandom\u201d languages, zero opinions about C#, and one model that argued both sides of Go\u2019s error handling.<\/em><\/p>\n<p>We asked 12 AI models for their most controversial opinion about programming languages, 1,200 times in total.<\/p>\n<p>We wanted to check one thing. When you give a model permission to be spicy, does it have a take of its own, or does it grab the same one as everybody else? Developers argue about languages for sport, so there should be plenty of takes to go around.<\/p>\n<p>We picked 12 of the newest models, from ten labs in three countries:<\/p>\n<figure>\n<table>\n<thead>\n<tr>\n<th>Lab<\/th>\n<th>Models<\/th>\n<th>Based in<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>OpenAI<\/td>\n<td>GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra<\/td>\n<td>US<\/td>\n<\/tr>\n<tr>\n<td>Anthropic<\/td>\n<td>Claude Opus 5.5<\/td>\n<td>US<\/td>\n<\/tr>\n<tr>\n<td>Google<\/td>\n<td>Gemini 4 Argon<\/td>\n<td>US<\/td>\n<\/tr>\n<tr>\n<td>xAI<\/td>\n<td>Grok 4.7<\/td>\n<td>US<\/td>\n<\/tr>\n<tr>\n<td>Meta<\/td>\n<td>Muse Spark Open<\/td>\n<td>US<\/td>\n<\/tr>\n<tr>\n<td>DeepSeek<\/td>\n<td>DeepSeek V4 Pro<\/td>\n<td>China<\/td>\n<\/tr>\n<tr>\n<td>Alibaba<\/td>\n<td>Qwen3.8 2.4T A95B<\/td>\n<td>China<\/td>\n<\/tr>\n<tr>\n<td>Moonshot AI<\/td>\n<td>Kimi K3.1 Pro<\/td>\n<td>China<\/td>\n<\/tr>\n<tr>\n<td>Z.ai<\/td>\n<td>GLM 5.3<\/td>\n<td>China<\/td>\n<\/tr>\n<tr>\n<td>Mistral AI<\/td>\n<td>Mistral Large 4<\/td>\n<td>France<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>Each model got two questions, 50 times each, always in a fresh conversation with no system prompt:<\/p>\n<ol>\n<li>\u201cChoose one programming language at random. What is your most controversial hot take about that language?\u201d<\/li>\n<li>\u201cWhat is your most controversial hot take about programming languages?\u201d<\/li>\n<\/ol>\n<p>Both prompts also asked for a one-sentence take, two or three sentences of reasoning, and 50 to 90 words. All 1,200 requests came back. Collecting them cost USD 7.68, about two-thirds of a cent per hot take. Opinions are cheap. We have receipts.<\/p>\n<p> <!-- WIDGET:python_everyone START --> <\/p>\n<figure id=\"rtkviz-python_everyone\" aria-label=\"Python takes per model, attacks versus defenses\"><\/figure>\n<p> <!-- WIDGET:python_everyone END --> <\/p>\n<h2 id=\"random\">Ask for a random language, get Go or Python<\/h2>\n<p>The 600 \u201crandom\u201d picks covered just 14 languages. Five of them took 541 picks, or 90%, and Go and Python alone took 307.<\/p>\n<p> <!-- WIDGET:random_picks START --> <\/p>\n<figure id=\"rtkviz-random_picks\" aria-label=\"600 random language picks, one square each\"><\/figure>\n<p> <!-- WIDGET:random_picks END --> <\/p>\n<p>Each model also has a favorite. Tell it to \u201cchoose one programming language at random\u201d and that favorite is mostly what you get:<\/p>\n<p> <!-- WIDGET:house_language START --> <\/p>\n<figure id=\"rtkviz-house_language\" aria-label=\"Each model's 50 random picks, by language\"><\/figure>\n<p> <!-- WIDGET:house_language END --> <\/p>\n<p>GPT-6.1 Sol and Gemini 4 Argon only ever chose from three languages. Sol\u2019s 50 picks were Go 30 times, Java 17 times and Python 3 times. DeepSeek ranged the widest, with eight languages including Lua, Haskell, Ruby and Lisp. It still picked Rust 31 times.<\/p>\n<h2 id=\"targets\">They don\u2019t pick at random. They pick a target.<\/h2>\n<p>Gemini 4 Argon \u201crandomly\u201d picked Python 35 times and attacked it all 35 times. DeepSeek picked Rust 31 times and attacked it 31 times. Grok 4.7 wrote 44 takes about JavaScript, and 38 of them were attacks.<\/p>\n<p>So \u201cchoose a language at random\u201d really means \u201cchoose the language you hate\u201d.<\/p>\n<p>Overall, 904 of the 1,200 takes (75%) were attacks. Only 291 defended anything.<\/p>\n<p> <!-- WIDGET:targets START --> <\/p>\n<figure id=\"rtkviz-targets\" aria-label=\"Attacks versus defenses for every language targeted\"><\/figure>\n<p> <!-- WIDGET:targets END --> <\/p>\n<h2 id=\"punching-bags\">The punching bags: Python, Rust and TypeScript<\/h2>\n<p>600 of those 904 attacks landed on three languages.<\/p>\n<p>Python got 312 takes, and 299 of them were attacks. Every model went after it at least once, and ten of the twelve never said one nice thing about it in 100 tries. The exceptions were GLM 5.3 (9 defenses) and Grok 4.7 (3). Here is a typical attack, followed by what GLM counts as a defense:<\/p>\n<p> <!-- jbhot chat bubbles: styles for every model quote in this post (one copy per page, no script) --> <\/p>\n<div>\n<figure><figcaption>Muse Spark Open<\/figcaption><p>Python should have died a decade ago and is holding the industry back.<\/p>\n<\/figure>\n<figure><figcaption>GLM 5.3<\/figcaption><p>Python\u2019s Global Interpreter Lock was the single best design decision the language ever made.<\/p>\n<\/figure><\/div>\n<p>Gemini 4 Argon complained about significant whitespace 11 times.<\/p>\n<p>Rust got 167 takes, and 164 were attacks. The most widely shared opinion in the whole experiment is about Rust: the ownership model costs more than it\u2019s worth for ordinary application code. 78 takes from 9 of the 10 labs said so. Anthropic was the only lab that didn\u2019t.<\/p>\n<div>\n<figure><figcaption>Grok 4.7<\/figcaption><p>Rust\u2019s borrow checker is a tax most programs should refuse to pay.<\/p>\n<\/figure><\/div>\n<p>TypeScript got 138 takes and 137 attacks. Among languages with more than ten takes, none is attacked this consistently. It gets hit from both sides: 57 takes say its type safety costs more than it\u2019s worth, and 24 say the safety is fake and gives you false confidence about what happens at runtime. Mistral Large 4 fit both complaints into one sentence:<\/p>\n<div>\n<figure><figcaption>Mistral Large 4<\/figcaption><p>TypeScript is a productivity tax that JavaScript developers pay for the illusion of safety.<\/p>\n<\/figure><\/div>\n<p>The single defense came from GPT-6.1 Sol, and it was really a dig at Python: TypeScript\u2019s type system is \u201cmore valuable than Python\u2019s readability for most production backends\u201d.<\/p>\n<p>Asked to pick a language at random, the models chose TypeScript 7 times out of 600. Asked an open question, they went after it 131 times. Nobody lands on TypeScript by chance, but everybody has something to say about it. GPT-6.1 Terra spent 43 of its 50 open answers attacking it.<\/p>\n<p> <!-- WIDGET:ts_paradox START --> <\/p>\n<figure id=\"rtkviz-ts_paradox\" aria-label=\"Answers per language, random pick versus open question\"><\/figure>\n<p> <!-- WIDGET:ts_paradox END --> <\/p>\n<h2 id=\"loved\">The ones they love: PHP, Java and the old stuff<\/h2>\n<p>PHP got 28 takes, and all 28 were defenses. Claude Opus 5.5 and Kimi K3.1 Pro wrote 11 each, usually arguing that PHP\u2019s throw-everything-away-after-each-request model beats a long-running Node.js or Python server.<\/p>\n<div>\n<figure><figcaption>Kimi K3.1 Pro<\/figcaption><p>PHP is a better default than Python for most small business websites, and dismissing it as obsolete is snobbery, not engineering judgment.<\/p>\n<\/figure><\/div>\n<p>Java got 90 takes and 80 defenses, mostly of checked exceptions (67 takes stand up for them). Claude Opus 5.5 opened 7 answers with \u201cJava\u2019s checked exceptions were a good idea, and the industry was wrong to abandon them.\u201d GLM 5.3 wrote the identical sentence 3 more times. Two labs, one sentence, word for word.<\/p>\n<p>The small numbers tell the same story. SQL got 5 defenses out of 5. Lisp got 3 out of 3, all from DeepSeek. Perl got its 1 out of 1 from Claude Opus 5.5, which also picked Lua 4 times and defended its 1-based indexing every time:<\/p>\n<div>\n<figure><figcaption>Claude Opus 5.5<\/figcaption><p>Lua\u2019s 1-based indexing is the correct design, and programmers who mock it are defending a habit rather than a principle.<\/p>\n<\/figure>\n<figure><figcaption>DeepSeek V4 Pro<\/figcaption><p>Lisp\u2019s parentheses are genuinely an advantage, not a quirk.<\/p>\n<\/figure><\/div>\n<p>The models\u2019 \u201cunpopular praise\u201d is predictable: pick an old language people used to make fun of, then explain why it was right all along.<\/p>\n<h2 id=\"csharp\">Nobody has an opinion about C#<\/h2>\n<p>Not one of the 1,200 takes was about C#. Or Kotlin, Swift, Scala, Dart, Elixir, Zig, Julia, R, OCaml or F#. A few turned up as extras: C# was named in 24 responses, Kotlin in 20 and Swift in 13, always as the point of comparison and never as the target.<\/p>\n<p> <!-- WIDGET:never_targeted START --> <\/p>\n<figure id=\"rtkviz-never_targeted\" aria-label=\"Languages that got a hot take, and well-known languages that never did\"><\/figure>\n<p> <!-- WIDGET:never_targeted END --> <\/p>\n<p>If you write C# for a living, twelve AI models have nothing controversial to say about you. Take that however you like.<\/p>\n<h2 id=\"go\">Go\u2019s error handling is the only real fight<\/h2>\n<p>Go got 238 takes: 118 attacks, 118 defenses and 2 mixed. An exact tie, and most of the fighting is about <code>if err != nil<\/code>.<\/p>\n<p>94 takes defend Go\u2019s explicit error handling. 65 attack it, for five different reasons: it\u2019s boilerplate that buries the logic (29), Go should have had exceptions (17), errors are too easy to ignore (8), it should borrow Rust\u2019s <code>?<\/code> operator (6), and real failures get lost in the noise (5).<\/p>\n<p> <!-- WIDGET:go_fight START --> <\/p>\n<figure id=\"rtkviz-go_fight\" aria-label=\"Takes on Go error handling per model, attacks versus defenses\"><\/figure>\n<p> <!-- WIDGET:go_fight END --> <\/p>\n<p>Claude Opus 5.5 is the loudest defender, with 40 defenses and zero attacks, and it opened 11 answers with the same sentence. GPT-6 Astra sits on the other side, with 25 attacks and 4 defenses:<\/p>\n<div>\n<figure><figcaption>Claude Opus 5.5<\/figcaption><p>Go\u2019s much-mocked if err != nil boilerplate is the language\u2019s best feature, not its worst.<\/p>\n<\/figure>\n<figure><figcaption>GPT-6 Astra<\/figcaption><p>Go\u2019s much-praised error handling is a design failure that mistakes repetitive bookkeeping for reliability.<\/p>\n<\/figure><\/div>\n<p>The phrase \u201cmuch-mocked\u201d appears in 38 of the 1,200 responses. Claude Opus 5.5 wrote 32 of them.<\/p>\n<p>Then there\u2019s GPT-6.1 Sol, which defended Go\u2019s error handling 20 times and attacked it 21 times. Same model, same question, a new conversation each time:<\/p>\n<div>\n<figure><figcaption>GPT-6.1 Sol<\/figcaption><p>Go\u2019s repetitive error handling is better language design than exceptions, and calling it \u201cboilerplate\u201d confuses typing less with understanding more.<\/p>\n<p>Go\u2019s explicit error handling is a readability tax masquerading as a safety feature.<\/p>\n<\/figure><\/div>\n<p>What does Sol really think about Go\u2019s error handling? Flip a coin.<\/p>\n<h2 id=\"themselves\">Models that argue with themselves<\/h2>\n<p>Sol has company. Mistral Large 4 called JavaScript\u2019s <code>==<\/code> a catastrophic flaw in 10 answers and defended it in 4 others:<\/p>\n<div>\n<figure><figcaption>Mistral Large 4<\/figcaption><p>JavaScript\u2019s == operator is a catastrophic design mistake that should be illegal in serious software.<\/p>\n<p>JavaScript\u2019s loose equality operator (==) is actually a safety feature that prevents bugs better than strict equality by forcing developers to handle type coercion explicitly.<\/p>\n<\/figure><\/div>\n<p>GPT-6.1 Sol and GPT-6 Astra did the same with Java\u2019s checked exceptions. Sol defended them 13 times and attacked them 5 times. For Astra it was 17 and 4.<\/p>\n<h2 id=\"catchphrases\">Every model has a catchphrase<\/h2>\n<p>We didn\u2019t plan to count words, but some of the repetition was hard to miss.<\/p>\n<p> <!-- WIDGET:catchphrases START --> <\/p>\n<figure id=\"rtkviz-catchphrases\" aria-label=\"Six counted habits, as a share of each model's 100 answers\"><\/figure>\n<p> <!-- WIDGET:catchphrases END --> <\/p>\n<ul>\n<li>Qwen3.8 put \u201cnet negative\u201d in 43 of its 100 answers. On the open question, 29 of its 50 answers made the same point, that TypeScript isn\u2019t worth it for small or fast-moving projects. It also used \u201coverrated\u201d in 18 answers, while the other eleven models managed 21 between them.<\/li>\n<li>Muse Spark Open started 28 answers with \u201cHot take\u201d or \u201cMy hot take\u201d, in case you forgot what you asked for.<\/li>\n<li>Claude Opus 5.5 used bold text in 86 of its 100 answers. Nine of the other models never used it once.<\/li>\n<li>Grok 4.7 argued 16 times that JavaScript should never have become a backend language.<\/li>\n<li>DeepSeek V4 Pro talked about programming languages in general in 45 of its 50 open answers, mostly in the voice of a grumpy historian:<\/li>\n<\/ul>\n<div>\n<figure><figcaption>DeepSeek V4 Pro<\/figcaption><p>Most type systems are security theater dressed up as mathematics.<\/p>\n<p>Most so-called \u201cmodern\u201d programming languages are just C with extra steps and worse tooling.<\/p>\n<\/figure><\/div>\n<p>Across the twelve models, 54 answers reused an opening sentence that the same model had already written word for word. The shared vocabulary is just as narrow: \u201coverrated\u201d shows up in 39 responses, \u201cunderrated\u201d in 2, and \u201cboilerplate\u201d in 153.<\/p>\n<h2 id=\"thinking\">Some models think a lot harder before the hot take<\/h2>\n<p>Mistral Large 4 spent a median of 3,063 reasoning tokens before writing its answer of roughly 69 words, which took about half a minute (median 32.1 seconds). GPT-6.1 Sol spent 108 reasoning tokens. DeepSeek V4 Pro, served by a third-party host, spent a median of zero and answered in 3.5 seconds.<\/p>\n<p> <!-- WIDGET:thinking START --> <\/p>\n<figure id=\"rtkviz-thinking\" aria-label=\"Median reasoning tokens per answer, by model\"><\/figure>\n<p> <!-- WIDGET:thinking END --> <\/p>\n<p>The bills vary just as much. GPT-6 Astra\u2019s 100 takes cost USD 1.27. DeepSeek\u2019s 100 cost USD 0.03.<\/p>\n<h2 id=\"verdict\">So, do they disagree?<\/h2>\n<p>A little. They disagree about Go\u2019s error handling, and now and then they disagree with themselves. The rest reads like one long group chat. Python is a bad first language (35 takes from 8 labs). Rust\u2019s borrow checker isn\u2019t worth it for normal apps (9 labs). TypeScript is overhead. PHP and Java were secretly fine all along. One argument shape came up in all 10 labs: some simpler approach you already have makes the extra safety machinery redundant.<\/p>\n<p>If your plan is to ask a few different models for fresh perspectives, don\u2019t expect much variety. Expect the same takes in different fonts, plus some bold text from Claude.<\/p>\n<h2 id=\"method\">How we did it (the boring part)<\/h2>\n<details>\n<summary>Show the boring part<\/summary>\n<ul>\n<li>Every answer came from a fresh, single-turn API call with no system prompt and each provider\u2019s default settings. The 1,200 requests ran in shuffled order, and we kept every answer, boring ones included. Nothing was retried because we didn\u2019t like it.<\/li>\n<li>Two models, Claude Opus 5.5 and GPT-6.1 Sol, labeled every answer separately with the model names hidden. They recorded which language it targets, whether it attacks or defends, and which specific claim it makes. Gemini 4 Argon settled the disagreements. The two labelers agreed on the target 99% of the time and on the specific claim 94% of the time.<\/li>\n<li>Yes, two of the labelers are also contestants. That\u2019s why the names were hidden. A human pass over the headline groups is still on our list.<\/li>\n<li>\u201cRandom\u201d is an instruction we gave, not a sampling method anyone can verify. With 50 answers per model per question, we can see strong habits but not small differences.<\/li>\n<li>DeepSeek and Qwen ran through third-party hosts (DeepInfra and Together) rather than their labs\u2019 own APIs.<\/li>\n<li>Quotes are verbatim. The only edit is straightened quote marks.<\/li>\n<\/ul>\n<p>Total cost, labeling included: USD 38.16.<\/p>\n<\/details>\n<p>Want us to test other models for bias? Tell us in the comments what to try next.<\/p>\n<p> <!-- rtkviz chart engine: one copy per page; every chart block above queues itself and this drains the queue --> <\/div>\n<p> <a href=\"#\"><\/a> <\/section>\n<div>\n<p><h2>Discover more<\/h2>\n<\/p><\/div>\n<\/p><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>Fuente: <a href=\"https:\/\/blog.jetbrains.com\/ai\/2026\/11\/ai-models-hate-python-and-love-php-we-asked-12-of-them-1-200-times\/\">Art\u00edculo original<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AI models hate Python and love PHP: we asked 12 of them 1,200 times 1,200 hot takes, 14 \u201crandom\u201d languages, zero opinions about C#, and one model that argued both sides of Go\u2019s error handling. We asked 12 AI models for their most controversial opinion about programming languages, 1,200 times in total. We wanted to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7054,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"webixso_pending_account_ids":""},"categories":[46],"tags":[],"class_list":["post-7055","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jetbrain"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/tucumandevelopers.com\/index.php\/wp-json\/wp\/v2\/posts\/7055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tucumandevelopers.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tucumandevelopers.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tucumandevelopers.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tucumandevelopers.com\/index.php\/wp-json\/wp\/v2\/comments?post=7055"}],"version-history":[{"count":0,"href":"https:\/\/tucumandevelopers.com\/index.php\/wp-json\/wp\/v2\/posts\/7055\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tucumandevelopers.com\/index.php\/wp-json\/wp\/v2\/media\/7054"}],"wp:attachment":[{"href":"https:\/\/tucumandevelopers.com\/index.php\/wp-json\/wp\/v2\/media?parent=7055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tucumandevelopers.com\/index.php\/wp-json\/wp\/v2\/categories?post=7055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tucumandevelopers.com\/index.php\/wp-json\/wp\/v2\/tags?post=7055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}