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)

West Indies tour of India, 2014

Oct 20, 2014 (14:30 IST)   at Kolkata

Pakistan vs Australia in UAE, 2014

Oct 22, 2014 (11:30 IST)   at Dubai

West Indies tour of India, 2014

Oct 22, 2014 (19:00 IST)   at Cuttack

South Africa tour of New Zealand, 2014

Oct 24, 2014 (03:00 IST)   at Mount Maunganui

Zimbabwe tour of Bangladesh, 2014

Oct 25, 2014 (09:00 IST)   at Dhaka

More

South Africa tour of New Zealand, 2014

Oct 21, 2014  at Mount Maunganui

South Africa won by 6 wkts

West Indies tour of India, 2014

Oct 17, 2014  at Dharamsala

India won by 59 runs

West Indies tour of India, 2014

Oct 14, 2014  at Visakhapatnam

Match cancelled

Pakistan vs Australia in UAE, 2014

Oct 12, 2014  at Abu Dhabi

Australia won by 1 run

West Indies tour of India, 2014

Oct 11, 2014  at Delhi

India won by 48 runs

Photos

Pakistan vs Australia, 1st Test at Dubai

Videos

AB de Villiers praises team after win in 1st ODI

Saeed Ajmal’s action to be assessed after two more weeks of remedial work under Saqlain Mushtaq

Pakistan vs Australia, 1st Test, Day 1 highlights: Younis Khan’s ton, Mitchell Johnson’s riveting spell

Steve O’Keefe and other Test cricketers with apostrophes in their surnames

Mitchell Marsh, Shaun Marsh, Geoff Marsh and other Father-Son trios to have played Test cricket

Pakistan vs Australia 2014: Why did Mohammad Hafeez go for a shocking review?

Australia Australia tour of UAE 2014 Australia vs Pakistan Australia vs Pakistan 2014 India New Zealand New Zealand vs South Africa New Zealand vs South Africa 2014 Pakistan Pakistan vs Australia Pakistan vs Australia 2014 South Africa South Africa tour of New Zealand 2014 South Africa vs New Zealand South Africa vs New Zealand 2014

Saeed Ajmal’s action to be assessed after two more weeks of remedial work under Saqlain Mushtaq

Nepal to host world’s first blind women’s cricket series

All India Public Sector Cricket Tournament to be held in Mumbai

Mitchell Johnson: We need to use new ball well tomorrow

Pakistan vs Australia 2014: Younis Khan proud at scoring record 25th Test ton

South Africa vs New Zealand 2014: Vital for Brendon McCullum to find form quickly

Younis Khan: First Pakistani and 12th overall to score a century against all 9 Test nations

Pakistan vs Australia, 1st Test, Day 1 highlights: Younis Khan’s ton, Mitchell Johnson’s riveting spell

Younis Khan becomes first Pakistan batsman to score a ton against each of the Test-playing nations

Steve O’Keefe and other Test cricketers with apostrophes in their surnames

Fan of the Day

Suraj Gowda

Suraj Gowda

642 Posts | 9 Fans

Virat Kohli's Family Meets Anushka Sharma

Box Cricket League anthem: Surbhi Jyoti, Rithvik Dhanjani, Kishwer Merchant ready to hit a sixer

Bigg Boss 8 Highlights: Ali Quli Mirza loses his cool and threatens to poke Gautam Gulati’s eye out

For Every Busy Bee, Get a Powerful Workout in Under an Hour

इबोला से संक्रमित अमेरिकी फोटोग्राफर विषाणु मुक्त घोषित

Google’s new Inbox app is the Google Now of Gmail

इबोला : अंतर्राष्ट्रीय लड़ाई में क्यूबा का साथ देगा अमेरिका

Canada Shooting: Ottawa shooting adds Canada to the dreaded terrorist attack list

Lenovo RocStar music-focused Android KitKat smartphone with Dolby Digital Plus audio launched in India, priced at Rs 6,499

Also on cricketcountry.com

Play Fantasy Cricket & Win

Cash Daily! Click here