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)

Afghanistan tour of Zimbabwe, 2014

Jul 22, 2014 (12:30 IST)   at Bulawayo

South Africa tour of Sri Lanka, 2014

Jul 24, 2014 (10:00 IST)   at Colombo

Afghanistan tour of Zimbabwe, 2014

Jul 24, 2014 (12:30 IST)   at Bulawayo

India tour of England 2014

Jul 27, 2014 (15:30 IST)   at Southampton

Pakistan tour of Sri Lanka, 2014

Aug 6, 2014 (10:00 IST)   at Galle

More

Afghanistan tour of Zimbabwe, 2014

Jul 20, 2014  at Bulawayo

Zimbabwe won by 8 wkts

Afghanistan tour of Zimbabwe, 2014

Jul 18, 2014  at Bulawayo

Zimbabwe won by 6 wkts

India tour of England 2014

Jul 17, 2014  at London

India won by 95 runs

South Africa tour of Sri Lanka, 2014

Jul 16, 2014  at Galle

South Africa won by 153 runs

South Africa tour of Sri Lanka, 2014

Jul 12, 2014  at Hambantota

South Africa won by 82 runs

Photos

Gallery: India vs England 2nd Test at Lord's

Videos

Alastair Cook jokes about his bowling

India’s wins in England — from 1971 to 2014

Ravindra Jadeja knighted by her majesty Queen Elizabeth II

India’s win over England in 2nd Test at Lord’s: Twitter reactions

Ishant Sharma pummels England into submission as India clinch Lord’s Test by 95 runs

Ishant Sharma registers name at Lord’s honours board, takes 6 wickets in 2nd Test against England

Bhuvneshwar Kumar England England vs India England vs India 2014 India India tour of England 2014 India vs England India vs England 2014 Ishant Sharma South Africa South Africa tour of Sri Lanka 2014 Sri Lanka Sri Lanka vs South Africa Sri Lanka vs South Africa 2014 Zimbabwe vs Afghanistan 2014

Ishant Sharma and Bhuvneshwar Kumar climb up ICC rankings after Lord’s win

James Anderson’s disciplinary hearing to be held on August 1; Ravindra Jadeja’s hearing to be chaired by David Boon

India vs England, 2nd Test at Lord’s: Ishant Sharma’s brilliant spell

India vs England 2nd Test at Lord’s: Bob Willis criticises English batsmen for their meek surrender

Sourav Ganguly all set to become Joint secretary of Cricket Association of Bengal

Statistical highlights of India vs England 2014, 2nd Test at Lord’s

Ishant Sharma’s email inbox after the Lord’s Test match against England

Ishant Sharma’s house targetted by fans after expecting another failure

India’s wins in England — from 1971 to 2014

Ravindra Jadeja knighted by her majesty Queen Elizabeth II

Fan of the Day

Fan Cricket

Fan Cricket

11 Posts | 2 Fans

Brazil vs Netherlands, 3rd place Fifa World Cup 2014 match Video Highlights

James Anderson’s disciplinary hearing to be held on August 1; Ravindra Jadeja’s hearing to be chaired by David Boon

Dark underarms: Top causes and remedies

Indians spend over 3 hrs daily on smartphones: Study

Ek Hasina Thi: Has Durga started to fall for Dev?

TRAI suggests over Rs 2,400 crore telecom plan for 2 island Union territories

Esha Gupta endorses a clothing brand!

India vs England, 2nd Test at Lord’s: Ishant Sharma’s brilliant spell

Did you know that dark underarms could indicate diabetes?

Also on cricketcountry.com

Play Fantasy Cricket & Win

Cash Daily! Click here