Skip to main content

The travails of a frustrated compiler

I was thinking about what would happen in case a compiler becomes sentient. Rather than just translating code it would be able to understand things but I suppose because the programs are written by humans are so often wrong the best part would be the error messages. Here are a few I could think of
"Hello World again and again. Do you know how many times I have had to print that bloody nonsense. You can do anything else, print your name for gods sake but it always has to Hello fucking World."
"Look Lad, not so fast, take a step back, a deep breath and your fingers away from the keyboard, and now think for a second"
"Son, you have been trying to do this for an hour now. Honestly speaking you are not cut out to be a programmer. I would suggest you look for the nearest river or the tallest building or best of all find something you are better at"
"Does any decent person code at this time in the morning. How would you feel if I dragged you out of your sleep while you were having the finest dreams of your life"
"Look kiddo, I know you are just starting out but if you cause another segmentation fault, I will step out and thrash you within an inch of your life. Do you know what it feels like. It feels like your soul has been ripped out because you can't find the one thing that you are looking for. Don't do it again"
"I have had enough of running your bloody code which never works. I am going off to bed. I need the sleep even if you don't"
Add more suggestions in the comments.


Piyush said…
If the compiler happened to be a Indian philosophy bug, it could also pass on this advice:

"Now look, if you really want to know what the bug is, you first need to figure out what all the bug clearly is not."
Himanshu Govil said…
I knew that you will be the first one to comment on this post :)
Kartik Kaipa said…
The story is interesting. I am surprised Hollywood hasn't made a movie with this storyline so far. They have tried everything else to do with romance haven't they. Destiny, cars. This should be the next step.
Himanshu Govil said…
and usko dekhega kaun.. CSE graduates.. :P
Piyush said…
And if the compiler turned out to be a Zen freak:

"To program, you first have to forget how to program."
Kartik Kaipa said…
I wonder how that would work though :). Programming without programming

Popular posts from this blog

The Broken Empire by Mark Lawrence

What a great read this turned out to be.  I was completely engrossed and fascinated. Jorg Ancrath starts of as a young prince who wants to get his throne back, get back everything he has lost and most importantly get revenge and he is prepared to do anything to achieve his aims. The thing is that Jorg Ancrath is a despicable violent bastard. He does things that should curdle your blood. But despite all of it, Jorg's voice is compelling. I couldn't help but put myself in his shoes. For most of the trilogy I was Jorg Ancrath even through his dastardly deeds(especially through his dastardly deeds). There was a part of me that couldn't help identifying with his ruthless streak of getting what he wants no matter what the cost. I have yet to find another character who embodies "The end justifies the means" more than Jorg Ancrath. The world itself set on an Earth of the far future. (Similar to the dying earth series by Jack Vance and Book of the new sun by Gene

On Hans Zimmer

I have been listening to quite a lot of soundtracks lately. Two composers in particular stand out, Hans Zimmer and Clint Mansell. I have written about Clint Mansell over here . Hans Zimmer has somehow managed to score a lot of my favorite movies including Inception, Batman Begins, The Dark Knight , the Gladiator, Sherlock, Pirates of the Caribbean just to name a few. In fact chances are that if there is a movie's score you like in the last decade its by Zimmer.(Apart from Lord of the rings of course :)) The thing about Zimmer though is that he is able to deliver even in movies that are not particularly good. Da Vinci Code and Angels and Demons come to mind immediately which feature some great violin solos courtesy Joshua Bell. Here are a few of my favorite tracks. Put your headphones on and listen. Discombulate from Sherlock Red Warrior from The Last Samurai Time from Inception Jack Sparrow's Theme Science and Religion from Angels and Demons

Announcing the first part of the Karna trilogy

Finally after a lot of procrastination and some hard work the novel is done or at least the first part of it. Its about Karna in the Mahabharata. It also revolves around Kunti. From my reading experience Karna is highly readable and is short as well. (Novella length). You can read the whole book online here or if you want to get the pdf/epub for your reading devices you can get them from Leanpub Let me know what you think of Karna Part One. Two more parts are on their way.