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)

Pakistan vs Australia in UAE, 2014

Oct 30, 2014 (11:30 IST)   at Abu Dhabi

Sri Lanka tour of India, 2014

Nov 2, 2014 (14:30 IST)   at Cuttack

Zimbabwe tour of Bangladesh, 2014

Nov 3, 2014 (09:00 IST)   at Khulna

South Africa tour of Australia, 2014

Nov 5, 2014 (14:05 IST)   at Adelaide

Sri Lanka tour of India, 2014

Nov 6, 2014 (14:30 IST)   at Ahmedabad

More

West Indies tour of India, 2014

Nov 15, 2014  at Ahmedabad

Match cancelled

West Indies tour of India, 2014

Nov 7, 2014  at Bengaluru

Match cancelled

West Indies tour of India, 2014

Oct 30, 2014  at Hyderabad

Match cancelled

South Africa tour of New Zealand, 2014

Oct 27, 2014  at Hamilton

No result

Zimbabwe tour of Bangladesh, 2014

Oct 25, 2014  at Dhaka

Bangladesh won by 3 wkts

Photos

Pakistan vs Australia, 2nd Test

Videos

Tendulkar provides teaser on upcoming book

Live Cricket Score Duleep Trophy Central Zone vs South Zone, final at Delhi Day 3: Central Zone 68/0 at Lunch; trail by 35 runs

Live Cricket Score Pakistan vs Australia, 2nd Test at Abu Dhabi Day 2

Yuvraj Singh — have we seen the last of the man who won India three World Cups?

Mythbusting — the claim that playing for a weaker batting side handicaps a batsman has no basis

Younis Khan’s ban: why the ICC is justified

Australia Australia tour of UAE 2014 Australia vs Pakistan Australia vs Pakistan 2014 Central Zone Duleep Trophy Duleep Trophy 2014-15 India Pakistan Pakistan vs Australia Pakistan vs Australia 2014 South Zone South Zone vs Central Zone Sri Lanka Sri Lanka tour of India 2014

Pakistan vs Australia 2014: David Warner to keep wickets after Brad Haddin injures shoulder

Duleep Trophy 2014-15 final: Ali Murtaza, Piyush Chawla run amok on South; CZ trail by 35 runs at Lunch

Jesse Ryder gets World Cup 2015 lifeline; picked for New Zealand A squad to tour UAE

Andy Roberts wants WICB to investigate cause for India tour call-off

N Srinivasan praises Nepal, Uganda for making ICC World Cricket League Division 2 cut

Yuvraj Singh — have we seen the last of the man who won India three World Cups?

Younis Khan continues piling up records for Pakistan

Mythbusting — the claim that playing for a weaker batting side handicaps a batsman has no basis

Younis Khan’s ban: why the ICC is justified

KL Rahul could be opening option for India’s tour to Australia

Fan of the Day

Niharika Shah

Niharika Shah

678 Posts | 6 Fans

Video Highlights: Younis Khan century during Pakistan vs Australia 1st Test at Dubai

Is Shah Rukh Khan giving Aamir Khan sleepless nights?

Kaka to play for Orlando City in friendly match against Flamengo

Rihanna donates USD 135,000 to charity

Diet Tip #38: Choose whole wheat flour over white flour

How to sterilise your baby’s feeding bottle in 5 easy steps

Apple replaces user’s iPad for free after NASA rocket mishap

Android creator Andy Rubin is leaving Google to start a hardware startup incubator

Jennifer Lopez: “I’ve felt abused in one way or another”

Also on cricketcountry.com

Play Fantasy Cricket & Win

Cash Daily! Click here