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)

India tour of England 2014

Aug 30, 2014 (15:00 IST)   at Nottingham

Pakistan tour of Sri Lanka, 2014

Aug 30, 2014 (10:00 IST)   at Dambulla

Zimbabwe Triangular Series, 2014

Aug 31, 2014 (13:00 IST)   at Harare

India tour of England 2014

Sep 2, 2014 (15:00 IST)   at Birmingham

Zimbabwe Triangular Series, 2014

Sep 2, 2014 (13:00 IST)   at Harare

More

Zimbabwe Triangular Series, 2014

Aug 29, 2014  at Harare

South Africa won by 61 runs

Zimbabwe Triangular Series, 2014

Aug 27, 2014  at Harare

South Africa won by 7 wkts

Bangladesh Tour of West Indies, 2014

Aug 27, 2014  at Basseterre, St Kitts

No result

India tour of England 2014

Aug 27, 2014  at Cardiff

India won by 133 runs

Pakistan tour of Sri Lanka, 2014

Aug 26, 2014  at Hambantota

Sri Lanka won by 77 runs

Photos

Aaron Finch's record 156 vs England in T20I

Videos

Trent Bridge cricket ground: A small tour

Zimbabwe vs South Africa Live Cricket Score, 3rd ODI at Harare: South Africa win by 61 runs

England, take ODIs seriously if you want to win

Hiralal Gaekwad: the southpaw who lost out to Vinoo Mankad

Lord Ganesha XI: Eleven cricketers who were named after the elephant God

Suresh Raina’s new avatar on India’s tour of England 2014

Australia Australia and South Africa in Zimbabwe 2014 England England vs India England vs India 2014 India India tour of England 2014 India vs England India vs England 2014 Pakistan South Africa Sri Lanka Sri Lanka vs Pakistan 2014 Zimbabwe Zimbabwe Triangular Series 2014

Suresh Raina feels Murali Vijay, Sanju Samson, and Ambati Rayudu are options to open

Rajinikanth finds a fan in Ross Taylor!

Prosper Utseya’s hat-trick in vain as South Africa clinch 61 run victory against Zimbabwe in 3rd ODI

India tour of England 2014: Alex Hales wants to play Test cricket

Aditya Verma: Will oppose N Srinivasan or BCCI if AGM is delayed

Rilee Rossouw’s golden duck ‘feat’

Rohit Sharma’s injury gives Murali Vijay a new lease of life in ODI career

Prosper Utseya prospers for Zimbabwe

National Sports Day: Cricket’s television revolution has inspired other sports

Tinashe Panyangara’s suspension by Zimbabwe Cricket is ludicrous

Fan of the Day

Niharika Shah

Niharika Shah

666 Posts | 6 Fans

12 runs in one ball

Suresh Raina feels Murali Vijay, Sanju Samson, and Ambati Rayudu are options to open

Dr. Shirley Telles Brings Yoga and Science Together

What is the Ebola virus disease survival rate?

Apple iPhone 6 photos with full casing leaked ahead of September 9 launch

Apple iWatch won’t ship until next year: Report

NGOs pursue education for all

International programme in Animal Husbandry

Tanuja Desai Hidier Releases ‘Born Confused’ Sequel Novel & Album

Rajinikanth finds a fan in Ross Taylor!

Ganesh Chaturthi 2014: Gurmeet Choudhary and Debina Bonnerjee celebrate Ganeshotsav with the team of Khamoshiyan – view pics!

Also on cricketcountry.com

Play Fantasy Cricket & Win

Cash Daily! Click here