The Internet is amused by 'Bhai-Lang', a new programming language created by two Indians

A brand-new programming language is sweeping the internet. "Bhai-lang" is a toy programming language developed by two Indian engineers, Amazon's Aniket Singh and Groww's Rishabh Tripathi.

"Bhai" is an Indian word that means "brother." It's written in Typescript and blends Hindi terms like "bhai" with English phrases like "hello" and "bye."

"Bhai-lang" contains syntax, same like Java and other computer languages. However, the term 'bhai' appears in every instruction in the language.

According to the language's official website, the code's entrance point is "hi bhai" and the syntax finishes with "bye bhai." Everything typed inside these tags is legitimate, but everything outside of them is disregarded. If a programmer or coder commits a mistake, the prompt responds "Arre Bhai Bhai Bhai!!!"

Users have been responding to screenshots of the programming language on social media with amusing replies.

"The forbidden 'Brocode,'" said one Instagram user.

"Imagine #bhailang as a Styling language... "color" property be like bhai mujhe rang de: #ffd700," one Twitter user said.

The "Bhai-lang" functions in the same way as any other computer programming language, such as HTML, CSS, C++, and so on. The language also has its own GitHub website, where users can view the source code as well as a full directory of examples of how to utilise built-ins, conditionals, and loops.

Numbers and strings are similar to other languages, and the boolean values are "sahi" and "galat."

The "Bhai-lang" website also includes a playground where users may experiment with programmes written in the new language. If the code executes correctly, the programming language displays the message "Shandar Bhai" in green.

According to the language's inventors, "Bhai-lang" is the outcome of an internal joke.

News by: NewsPen Added on: 30-Mar-2022

DISCLAIMER: The news content above is submitted by Newspen users and also scrapped from external websites.

Recently added news

Four persons, including three madrassa teachers, have been arrested for sexually assaulting minor girls in Malappuram

MALAPPURAM: Four persons, including three madrassa teachers...
Last updated 19-Jun-2023

Students subjected to unnatural sexual abuse; Madrasa teacher Ashraf arrested

Chittariparambu (Kannur): A madrasa teacher has been arrest...
Last updated 30-May-2023

The number of madrasa teachers caught with hawala money in the last 60 days is three

KASARGOD: Hawala money worth Rs 18.5 lakh was seized from n...
Last updated 18-May-2023

Couples to smuggle gold; Customs Seizes 2 Kg Gold Mixture In Karipur

A couple from Kozhikode district, who arrived at the Karipu...
Last updated 18-May-2023

1.8 kg of gold concealed in clothes and attempted to smuggle; Woman Arrested With Gold Worth Rs 1.17 Crore In Karipur

KOZHIKODE: The police have arrested a 33-year-old woman for...
Last updated 18-May-2023