Bhailang: A Fun Programming Language Born from Internet Humour

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:

  • To make developers laugh
  • To reduce the intimidation new learners sometimes feel when seeing complex syntax
  • As a meme language, part of a growing trend of joke-based programming languages like LOLCODE or Shakespeare

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        

  • hi bhai — Entry point of the program
  • bye bhai — End of the program
  • bhai bol — Print command, like console.log or print

Variables

bhai x = 10 
bhai y = 20 
bhai bol x + y        

  • Variables are declared with bhai followed by the variable name.

Loops and Conditions

bhai jab tak x < 5 {
  bhai bol x
  x = x + 1
}        

  • bhai jab tak — A while loop
  • Bhailang also supports simple agar bhai (if bhai) conditionals.

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:

  • Engaging beginners with a funny, relaxed intro to coding
  • Cultural resonance among Indian developers
  • Viral traction due to its relatability and shareable content

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! 😄

To view or add a comment, sign in

Others also viewed

Explore topics