MITB Banner

BroCode: An inside joke that turned into a programming language

Written in TypeScript, Bhailang uses code that is a part of the Hindi local lingo. Every instruction in the language includes the word ‘bhai’ in it.

Share

A couple of Indian developers, Aniket Singh from Amazon and Rishabh Tripathi from Groww, have created a toy programming language called Bhailang. Singh spoke about the idea behind Bhailang, saying it started as an internal joke between him and Tripathi a couple of years back. But they didn’t start working on the language until a couple of weeks ago. 

Register for our Free programming Workshop >>

“We always had a curiosity about what it takes to create a programming language, but we always thought that it would be tedious and complicated work. But guess what? We were wrong. It’s actually quite fun!” Singh added in the post. Written in TypeScript, Bhailang uses code that is a part of the Hindi local lingo. Every instruction in the language includes the word ‘bhai’ in it. For example, the entry point for the program was ‘hi bhai’ and ended with ‘bye bhai.’ A series of errors in the program returns the prompt ‘Arre Bhai Bhai Bhai!!!’ 

Register for our Free programming Workshop >>

The post attracted comments from other amused developers. One other developer said,             “Runtime Errors: Bhai tumhara code phatt gya,” while another added, “Please make the compiler say:

“Sahi hai bhai” When code compiles successfully. 🙌

“Arre bhai bhai bhai bhai…” When it fails to compile.🤦‍♂️

“Bhai tum ye kya karr rahe hoo” (In ashneer grover’s tone) while debugging… 🤷‍♂️

“Bhai ki izzat dubati .. .” if there is a runtime exception..”

Share
Picture of Poulomi Chatterjee

Poulomi Chatterjee

Poulomi is a Technology Journalist with Analytics India Magazine. Her fascination with tech and eagerness to dive into new areas led her to the dynamic world of AI and data analytics.
Related Posts

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

Upcoming Large format Conference

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.