← Back to Tech Radar
Hacker News tech

Programming language file extensions that match ISO 3166-1 alpha-2 country codes

Trending on Hacker News: Programming language file extensions that match ISO 3166-1 alpha-2 country codes (27 points / 12 comments, via bruh.ltd)

Opening excerpt

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!

(Excerpted from the original; full article via the source link below.)

This story hit the Hacker News front page today (27 points / 12 comments, via bruh.ltd). Our Tech Radar aggregates daily signals on AI engineering, backend architecture and DevOps — browse the related services and further reading below, or get in touch with our team.

Source: Hacker News

Related Services

Related Reading