Home > Features > Humour >

Satire: IIT student invents programming language that uses Shastri’s cliches

Satire: IIT student invents programming language that uses Shastri's cliches

Ravi Shastri has now been immortalised in programming code.

Balaji Rangachari, a 3rd year student at IIT-Madras, has created a new programming language that might revolutionise the software industry as we know it. The programming language, named ‘C-Shastri’ by the young IITian, uses cricket commentator Ravi Shastri’s cliches as syntax for complex programming constructs.

 

Bajali’s innovation promises to make coding far more pleasurable while ramping up efficiency of programmers. Addressing a group of programmers and technology evangelists at Microsoft India office in Hyderabad, Balaji demonstrated various keywords and constructs in C-Shastri to a rapt crowd that hung on to his every word. “C-Shastri will make programming a lot more interesting and will bring to your daily job the excitement of a riveting cricket match. Work in a software company will never be the same again,” he exclaimed, triggering rapturous applause and wolf-whistles in the room.

 

Balaji credits Ravi’s computer like intellect for his invention. “Ravi’s artificial intelligence is awesome.  His CPU, I mean brain, maps the play with the appropriate cliché using a matching algorithm and the great man proceeds to verbalize it for the benefit of viewers. That’s when I realised why not create a computer language out of it.”

 

Balaji later revealed to The UnReal Times some of the keywords and expressions in C-Shastri for common programming constructs. For instance, the simple print statement in C-Shastri would be represented by “Flash-and-flash-hard()”. The main() section that programmers might recognize in a C program would be identified as “News-from-the-center()” in C-Shastri, and the classical Do-While loop is represented in C-Shastri by the equally classical “Do{ } Just-what-the-doctor-ordered”. A simple Hello World program in C-Shastri would be written as follows,

 

News-from-the-center()
{
Flash-and-flash-hard(“Hello World”);
}

 

C-Shastri has already received a thumbs-up from Infosys founder Narayan Murthy. “To my mind, C-Shastri seems to be the answer to reduce employee attrition and improve productivity. And given that everyone at Infosys anyway browses Cricinfo or watches live streams of matches instead of coding, we might save a ton of money in training these guys in C-Shastri. Will ask my MD to adopt C-Shastri pronto,” said the software mogul to The UnReal Times.

 

For the benefit of our readers from Software Industry, The UnReal Times reproduces, with Balaji’s permission, a set of C-Shastri keywords for traditional programming constructs.

 

Program Element

C-Shastri Syntax

Main ()

News-from-the-center()

Print ()

Flash-and-flash-hard()

If-Then-Elseif-Else

At-this-stage-all-3-results-are-possible

Do { }While

Do {} Just-what-the-doctor-ordered

Infinite loop

Give-it-the-kitchen-sink

Break (or any exit loop) statement

Take-the-aerial-route

Assigning value of X to Y

Y gave X the full monty

Defining a variable (eg: integer x)

AAAND….x is TAKEN!

X++

X is doing it in singles

X = X + 2

X is running hard for the 2nd

X = X + 4

X is dealing in boundaries here

End Statement

In the end, cricket is the winner

 

Balaji plans to further develop the language under the principles of free and open source software collaboration. However, new constructs and modifications will have to be approved by Ravi.

 

(Reproduced with permission from http://www.theunrealtimes.com/. The UnReal Times is one of the top websites for satire, spoof, parody and humour in India)

World T20 League 2014

Sep 22, 2014 (20:00 IST)   at Bengaluru

World T20 League 2014

Sep 23, 2014 (20:00 IST)   at Raipur

World T20 League 2014

Sep 24, 2014 (20:00 IST)   at Hyderabad

World T20 League 2014

Sep 25, 2014 (20:00 IST)   at Bengaluru

World T20 League 2014

Sep 26, 2014 (16:00 IST)   at Mohali

More

World T20 League 2014

Sep 21, 2014  at Hyderabad

Kolkata Knight Riders won by 4 wkts

World T20 League 2014

Sep 21, 2014  at Hyderabad

Hobart Hurricanes won by 6 wkts

World T20 League 2014

Sep 20, 2014  at Mohali

Kings XI Punjab won by 4 wkts

World T20 League 2014

Sep 20, 2014  at Mohali

Perth Scorchers won by 6 wkts

World T20 League 2014

Sep 19, 2014  at Raipur

NK won by 33 runs (D/L method)

Photos

KXIP vs Hobart Hurricanes, Match 2 CLT20 2014

Videos

Kane, Devcich praise each others knock

Live Cricket Score Kolkata Knight Riders (KKR) vs Lahore Lions CLT20 2014: KKR labour to 4 wicket win

CLT20 2014: Kolkata Knight Riders (KKR) vs Lahore Lions (LL), Match 7: 5 key battles

Before Mitchell Marsh, Surinder Amarnath had hit sixes off last two balls to win a match in England

Kings XI Punjab vs Barbados Tridents, Match 5, CLT20 2014: Highlights

CLT20 2014: Mitchell Marsh stakes his claim for a spot in Australia’s ICC World Cup 2015 squad with late blitz for Perth Scorchers against Dolphins

Asian Games Asian Games 2014 Cape Cobras Champions League T20 2014 CLT20 CLT20 2014 Dolphins Hobart Hurricanes Incheon Asian Games India at Asian Games 2014 Kings XI Punjab Lahore Lions

Pakistan are preparing their ICC Cricket World Cup 2015 plans without Saeed Ajmal

Bigg Boss 8: Ajit Chandila not to be a contestant of the show

CLT20 match between Kolkata Knight Riders (KKR) and Lahore Lions (LL) almost like India-Pakistan clash

CLT20 2014: Mohammed Hafeez blames fielders after losing

CLT20 2014: Gautam Gambhir backs fielders after victory against Pakistan side Lahore Lions

Chennai Super Kings (CSK) vs Dolphins, Match 8, CLT20 2014: CSK’s likely XI

Jalaluddin takes first ODI hat-trick

Chennai Super Kings (CSK) vs Dolphins, Match 8, CLT20 2014: Dolphins’ likely XI

Champions League T20 (CLT20) 2014: Kuldeep Yadav’s dramatic debut for Kolkata Knight Riders (KKR) shows he is one for the future

Cape Cobras v Hobart Hurricanes CLT20 2014 — Highlights

Fan of the Day

Cyrus Irani

Cyrus Irani

770 Posts | 24 Fans

Italy 0 Costa Rica 1 Full Match Highlights and Goals Video: FIFA World Cup 2014 Match 24

Bang Bang Dare: Hrithik Roshan challenges Priyanka Chopra to do handstand push-ups

Revealed: Puneet Issar, RJ Preetam, Deepshikha Nagpal are the members of Bigg Boss 8′s Secret Society!

Round 2 in Android One war: New phones may hit market by December-end

Customized tablets make way to India for Rs 5,000 onwards

खाने को चबाने के पाँच फ़ायदें

Revealed: The real reason why Upen Patel agreed to do Bigg Boss 8

Also on cricketcountry.com

Play Fantasy Cricket & Win

Cash Daily! Click here