Programming language file extensions that match an ISO 3166-1 alpha-2 country code | Blog

💥 Check out this insightful post from Hacker News 📖

📂 **Category**:

💡 **What You’ll Learn**:

So there’s this standard called ISO 3166-1 alpha-2 that defines a 2
letter code for every country on the planet (like ME = Montenegro) and
a bunch of places that aren’t countries (like EU = European Union).
You’ve probably encountered such a code before in top level domain
names (.im belongs to the Isle of Man) and on Discord (typing
:flag_fm: yields a 🇫🇲 emoji).

One of these codes is RS (= Serbia). Either by a sheer coincidence or
someone playing 5D chess, .rs is also the file extension for the Rust
programming language, which is why the domain name of every other Rust
project now belongs to Serbia. This made me curious about other cases
like this, so here’s an incomplete list of programming languages,
domain-specific languages, markup languages, etc which file extensions
match a country code. If you think something is missing, let me know!

Code Flag Language Country
AM 🇦🇲 Automake Armenia
AS 🇦🇸 ActionScript American Samoa
CC 🇨🇨 C++ Cocos Islands
EC 🇪🇨 eC Ecuador
ES 🇪🇸 ECMAScript Spain
GY 🇬🇾 Groovy Guyana
IN 🇮🇳 Autoconf India
MD 🇲🇩 Markdown Moldova
MK 🇲🇰 Makefile North Macedonia
MM 🇲🇲 Objective C Myanmar
PL 🇵🇱 Perl, PL/I, Prolog Poland
PS 🇵🇸 PostScript Palestine
PY 🇵🇾 Python Paraguay
RS 🇷🇸 Rust Serbia
RU 🇷🇺 Ruby Russia
SB 🇸🇧 Scratch Solomon Islands
SC 🇸🇨 Scala Seychelles
SH 🇸🇭 Unix Shell Saint Helena
SL 🇸🇱 S-Lang Sierra Leone
SM 🇸🇲 SmallTalk San Marino
ST 🇸🇹 SmallTalk, Structured Text Sao Tome and Principe
SV 🇸🇻 SystemVerilog El Salvador

🔥 **What’s your take?**
Share your thoughts in the comments below!

#️⃣ **#Programming #language #file #extensions #match #ISO #alpha2 #country #code #Blog**

🕒 **Posted on**: 1784951416

🌟 **Want more?** Click here for more info! 🌟

By

Leave a Reply

Your email address will not be published. Required fields are marked *