When you prompt in English, you align with how AI learned code and spend fewer tokens.When you prompt in English, you align with how AI learned code and spend fewer tokens.

AI Coding Tip 002 - Speak the Model’s Native Tongue

Speak the model’s native tongue.

Disclaimer: You might have noticed English is not my native language. This article targets people whose native language is different from English.

Common Mistake ❌

You write your prompt in your native language (other than English) for a technical task.

You ask for complex React hooks or SQL optimizations in Spanish, French, or Chinese.

You follow your train of thought in your native language.

You assume the AI processes these languages with the same technical depth as English.

You think modern AI handles all languages equally for technical tasks.

Problems Addressed 😔

The AI copilot misreads intent.

The AI mixes language and syntax.

The AI assistant generates weaker solutions.

Non-English languages use more tokens. You waste your context window.

The translation uses part of the available tokens in an intermediate prompt besides your instructions.

The AI might misinterpret technical terms that lack a direct translation.

For example: "Callback" becomes "Retrollamada" or "Rappel". The AI misunderstands your intent or wastes context tokens to disambiguate the instruction.

How to Do It 🛠️

  1. Define the problem clearly.
  2. Translate intent into simple English.
  3. Use short sentences.
  4. Keep business names in English to favor polymorphism.
  5. Never mix languages inside one prompt (e.g., "Haz una función que fetchUser()…").

Benefits 🎯

You get more accurate code.

You fit more instructions into the same message.

You reduce hallucinations.

Context 🧠

Most AI coding models are trained mostly on English data.

English accounts for over 90% of AI training sets.

Most libraries and docs use English.

Benchmarks show higher accuracy with English prompts.

While models are polyglots, their reasoning paths for code work best in English.

Prompt Reference 📝

Bad prompt 🚫

Mejorá este código y hacelo más limpio

Good prompt 👉

Refactor this code and make it cleaner

Considerations ⚠️

You should avoid slang.

You should avoid long prompts.

You should avoid mixed languages.

Models seem to understand mixed languages, but it is not the best practice.

Some English terms vary by region. "Lorry" vs "truck". Stick to American English for programming terms.

Type 📝

[X] Semi-Automatic

You can ask your model to warn you if you use a different language, but this is overkill.

Limitations ⚠️

You can use other languages for explanations.

You should prefer English for code generation. \n You must review the model reasoning anyway.

This tip applies to Large Language Models like GPT-4, Claude, or Gemini.

Smaller, local models might only understand English reliably.

Tags 🏷️

  • Standards

Level 🔋

[x] Beginner

Related Tips 🔗

  • Commit Before You Prompt
  • Review Diffs, Not Code

Conclusion 🏁

Think of English as the language of the machine and your native tongue as the language of the human.

When you use both correctly, you create better software.

More Information ℹ️

https://commoncrawl.org/?embedable=true

https://arxiv.org/abs/2402.16694?embedable=true

https://arxiv.org/abs/2408.09701?embedable=true

https://tao-hpu.medium.com/why-we-recommend-english-for-ai-coding-the-30-performance-advantage-no-ones-talking-about-1c4cba55c146?embedable=true

https://www.uwa.edu.au/news/article/2025/may/ai-systems-are-built-on-english-but-not-the-kind-most-of-the-world-speaks?embedable=true

https://pureai.com/blogs/mind-the-prompt/2025/12/prompting-in-english-not-that-ideal-after-all.aspx?embedable=true

https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them?embedable=true

https://hackernoon.com/how-to-find-the-stinky-parts-of-your-code-part-xxvi?embedable=true

Also Known As 🎭

English-First Prompting

Language-Aligned Prompting

Disclaimer 📢

The views expressed here are my own.

I welcome constructive criticism and dialogue.

These insights are shaped by 30 years in the software industry, 25 years of teaching, and authoring over 500 articles and a book.


This article is part of the AI Coding Tip series.

\

Market Opportunity
Sleepless AI Logo
Sleepless AI Price(AI)
$0.04231
$0.04231$0.04231
+0.76%
USD
Sleepless AI (AI) Live Price Chart
Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

Doorbraak voor altcoins: SEC keurt Grayscale’s GDLC ETF goed

Doorbraak voor altcoins: SEC keurt Grayscale’s GDLC ETF goed

Connect met Like-minded Crypto Enthusiasts! Connect op Discord! Check onze Discord   Na maanden van speculatie heeft de Amerikaanse toezichthouder eindelijk groen licht gegeven voor een nieuw crypto product dat de manier van beleggen in digitale munten fundamenteel kan veranderen. Het besluit komt op een moment dat de markt snakt naar meer institutionele producten, en beleggers reageren direct. Eerste multi-asset crypto ETF in de VS Grayscale CEO Peter Mintzberg kondigde vandaag op social media platform X aan dat zijn Digital Large-Cap Fund (GDLC) aanvraag is goedgekeurd door de Amerikaanse Securities and Exchange Commission (SEC). Het gaat om een conversie van het fonds naar een Exchange Traded Fund (ETF), waarmee GDLC dus ook op de Amerikaanse beurs verhandelbaar wordt. Grayscale Digital Large Cap Fund $GDLC was just approved for trading along with the Generic Listing Standards. The Grayscale team is working expeditiously to bring the FIRST multi #crypto asset ETP to market with Bitcoin, Ethereum, XRP, Solana, and Cardano#BTC #ETH $XRP $SOL… — Peter Mintzberg (@PeterMintzberg) September 17, 2025 Daarmee krijgen de financiële markten voor het eerst toegang tot een multi-asset crypto ETF: een beursgenoteerd fonds dat niet een munt volgt, maar meerdere tegelijk. Volgens Mintzberg gaat het product in eerste instantie bestaan uit een mix van de grootste digitale valuta’s, waaronder Bitcoin (BTC), Ethereum (ETH), Ripple (XRP), Solana (SOL) en Cardano (ADA). Vooralsnog is het onduidelijk wat precies de weging wordt tussen de verschillende large caps binnen de ETF. Of Grayscale over de levensduur van het fonds de weging en munt selectie kan veranderen is ook nog niet duidelijk. Nieuwe standaard voor crypto ETF’s De goedkeuring van GDLC kan een precedent scheppen. Zo kan er een multi-asset standaard ontstaan voor crypto ETF’s, wat betekent dat we in de toekomst een tal van creatieve combinaties kunnen zien op de beurs. Denk bijvoorbeeld aan ETF’s die zich puur focussen op Decentralized Finance (DeFi) leiders in de crypto markt of zelfs memecoin fondsen. Daarnaast vormt de komst van Grayscale’s fonds een belangrijk signaal richting lopende aanvragen. Waar de SEC onlangs nog een beslissing over een XRP Spot ETF uitstelde, lijkt de houding van de toezichthouder duidelijk te veranderen. ETF expert Nate Geraci benadrukt deze koerswijziging: twee jaar geleden vocht de SEC nog een harde juridische strijd met Grayscale uit over een spot Bitcoin ETF, nu wordt juist een generiek raamwerk voor crypto ETF’s omarmd. Verschillende altcoins, van XRP, ADA tot zelfs Dogecoin (DOGE), wachten op hun eerste goedkeuring. Met de introductie van dit eerste large-cap fonds lijkt bredere SEC acceptatie dan ook slechts een kwestie van tijd. Directe impact op altcoin koersen Voor institutionele partijen verlaagt het nieuwe fonds de drempel om in crypto te stappen, zonder de complexiteit van munt selectie en wallet beheer. De cryptocurrency gemeenschap hoopt dan ook dat de nieuwe ETF kan zorgen voor miljarden dollars aan kapitaalstromen richting de grote altcoins. Dat optimisme is ook terug te zien in de prijzen van veel munten. Veel large caps wisten een aardige stijging door te maken. Zo klommen SOL en ADA over de afgelopen 24 uur met respectievelijk 3,4% en 3,2% waardoor de solana koers dicht bij de grens van $245 komt. De cardano prijs heeft de significante weerstand van $0,90 doorbroken. Opvallend genoeg bleef de bitcoin koers neutraal, de ETH prijs klom minder hard dan andere altcoins met een groei van 1,1%. Best wallet - betrouwbare en anonieme wallet Best wallet - betrouwbare en anonieme wallet Meer dan 60 chains beschikbaar voor alle crypto Vroege toegang tot nieuwe projecten Hoge staking belongingen Lage transactiekosten Best wallet review Koop nu via Best Wallet Let op: cryptocurrency is een zeer volatiele en ongereguleerde investering. Doe je eigen onderzoek. Het bericht Doorbraak voor altcoins: SEC keurt Grayscale’s GDLC ETF goed is geschreven door Thomas Welsenes en verscheen als eerst op Bitcoinmagazine.nl.
Share
Coinstats2025/09/18 17:32
Fraudulent Token Scheme Smashed as Judge Delivers Crushing $3.34M Blow

Fraudulent Token Scheme Smashed as Judge Delivers Crushing $3.34M Blow

The post Fraudulent Token Scheme Smashed as Judge Delivers Crushing $3.34M Blow appeared on BitcoinEthereumNews.com. Colorado slams fraudulent crypto scheme with $3.34 million judgment as hype-fueled token collapse exposes lavish misuse of investor funds. Colorado Court Slams Indxcoin Founders With Multi-Million Dollar Fraud Judgment The Colorado Division of Securities announced on Sept. 16 that Denver District Court Judge Heidi L. Kutcher ruled against Indxcoin LLC and its founders, Eli and […] Source: https://news.bitcoin.com/fraudulent-token-scheme-smashed-as-judge-delivers-crushing-3-34m-blow/
Share
BitcoinEthereumNews2025/09/18 12:06
US CPI Data Shows Why Bitcoin’s Bull Market May Be Returning

US CPI Data Shows Why Bitcoin’s Bull Market May Be Returning

The post US CPI Data Shows Why Bitcoin’s Bull Market May Be Returning appeared on BitcoinEthereumNews.com. Bitcoin climbed back above $93,000 on Monday after the
Share
BitcoinEthereumNews2026/01/14 03:15