Bhailang: A Fun Programming Language Born from Internet Humour
In the ever-evolving world of programming, where new languages are created for performance, security, and productivity, a rare breed of languages emerges solely for entertainment—Bhailang is one such example. A humorous, meme-inspired programming language, Bhailang was created as a playful nod to coding culture, infusing it with elements of Indian street lingo and desi flavour.
What is Bhailang?
Bhailang is a toy programming language written in JavaScript, created by Indian developers Anirudh Sathe and Rishit Bhatia. The name “Bhailang” comes from “Bhai” (meaning “brother” in Hindi) and “lang” (short for language). The idea was to make programming fun and absurdly relatable, especially for the Indian audience who would get the jokes and references immediately.
It follows a simple and intentionally silly syntax where everything revolves around the keyword "bhai"—making the code resemble casual street conversations between Indian friends.
Why Was Bhailang Created?
Bhailang wasn’t designed for building apps, games, or systems. It was created:
Bhailang went viral on social media, especially on platforms like GitHub, Twitter, and Instagram, where programmers shared Bhailang code snippets for fun.
Syntax and Structure
Bhailang has a very limited set of commands, all rooted in Hindi-English slang, especially with the word "bhai" (bro). Here's an overview:
Basic Structure
hi bhai
bhai bol "Hello Bhai"
bye bhai
Variables
bhai x = 10
bhai y = 20
bhai bol x + y
Loops and Conditions
bhai jab tak x < 5 {
bhai bol x
x = x + 1
}
A Sample Bhailang Program
hi hi bhai
bhai x = 1
bhai jab tak x <= 5 {
bhai bol "Bhai number: " + x
x = x + 1
}
bye bhai
This prints numbers from 1 to 5 in classic Bhailang style.
Impact and Popularity
Bhailang isn't meant to replace Python, JavaScript, or C++. But it serves a unique purpose:
It even became a fun project for developers to contribute to, with many suggesting new "bhai-style" keywords and syntax.
Where Can You Use Bhailang?
Bhailang has its own online interpreter and is open-sourced on GitHub:
It can be run in the browser, making it easy to try without installing anything.
Final Thoughts
Bhailang is more than just a programming joke—it’s a celebration of culture, creativity, and community in tech. It reminds us that coding can be fun, expressive, and not always serious. Whether you're a seasoned developer or just starting out, Bhailang gives you a reason to smile and maybe even learn something new along the way.
To all the coders out there—code karo, bhai! 😄