With the advancement of technology in the modern times, coding and programming have emerged as popular career options for today’s generation. Keeping this in mind, two Indian software developers Aniket Singh and Rishabh Tripathi working under tech giants Amazon and Groww respectively, have recently launched their made-in-India programming language called Bhai-Lang, that is taking the internet by storm. Here’s everything one needs to know about this brand-new Indian programming language based on JavaScript.
How did the name ‘Bhai-Lang’ originate?
‘Bhai-Lang’ is a toy programming language that is derived from two words, ‘bhai’ meaning ‘brother’ in India and ‘lang’ being an abbreviated form of language. According to its creators, the name Bhai-Lang was born out of an inside joke among company peers addressing one other as “Bhai” during both office and off hours, or what we Indians popularly refer to as “bro talk.”
How does Bhai-Lang work?
Bhai-Lang has been created to function like any other popular computer programming language like Java, HTML, CSS etc. It also has its customised syntax: Every instruction in the language contains the word ‘bhai.’ In fact, as per the official website of this programming language, the entry point of the code begins with “hi bhai” while it ends with “bye bhai,” something that has been widely appreciated throughout the tech community. Furthermore, the language is made in such a way that all codes written inside these two above-mentioned tags will be considered valid, and everything outside of them as invalid. One can also customise and allot distinct values and functions to variables as per his requirement.
The best part about Bhai-Lang, according to its rising users, is that, if a coder or programmer makes an error, he or she will automatically come upon a prompt saying “Aare Bhai Bhai Bhai!!!” in red, meaning he or she needs to cross-check the code immediately. Apart from these, Bhai-Lang also has its own GitHub page where coders and programmers can locate the source code, analyse it, and have access to a directory of how to use built-ins, conditionals, loops and several other coding features. In Bhai-Lang, just like any other programming language, numbers and strings are present in bulk, and “sahi” and “galat” refers to “true” or “false” depending on the inputs provided.
The official website of Bhai-Lang is also said to have a common space or “playground” where coders, programmers and developers can try out simple and basic coding and programming using the newly built language. It can also experiment with different commands and tasks. In fact, if the code runs successfully, Bhai-Lang automatically responds sending a green coloured message that reads “Shandar Bhai” (meaning “Well done, brother!”) and even generates the final coding output.