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.

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

An ode to Hall 1

This goes out to Hall 1, the hostel where all the 4th year students of IIT Kanpur live. Indeed this hostel serves as a meeting ground between familiar foes some of who go on to become friends. A lot of factors make Hall 1 what it is. It acquires a mythic quality right from the first year when juniors are often threatened with “Aaj raat hall 1 main chal”. The seniors who live in Hall 1 seem to have a totally different existence as compared to the rest of the campus. On a visit to the hostel in the first year all one hears is the constant swearing, and sees everyone in shorts or in suits. Legends surround Hall 1 and in our first year the stories we hear are of Hall 1 and none other. Indeed Hall 1 residents perpetuate this myth as well acting as if they are the scariest beings on the campus. Indeed the fear is such that if a fresher goes to Hall 1 they are not expected to come back. There is something about Hall 1 that separates it from the rest of the Halls. For starters, Hall 1 has

Places to eat in Kanpur

Our real exploration of Kanpur began in our 5th year when we had our stipend to spend so hopefully this article will prove helpful to all the foodies out there. Surprisingly(and I really mean this) there are a number of terrific places to eat in Kanpur. Hopefully this article will prove helpful to many who are looking forward to spend their stipends. By far the best way to reach places to eat in Kanpur is to catch the bus that the institute provides. The bus runs everyday(except Sunday) at 8:00 pm and 9:00 pm. The bus returns at around 10:15 pm. Murgi(Our food and snacks Coordinator, every wing should have one) always takes the phone number of the conductor so that he can stay updated about where the bus is and so that the return is convenient. The bus service is really a life saver and unless you have a bike should be the first option. It is also better to roam during weekdays than weekends simply because there is lesser ruckus everywhere. Going to a restaurant on a weekend is an ab

The best of Paul Graham

Paul Graham is a startup incubator. He also happens to write essays which are really really good. In general I wish I had them read them a lot earlier. I have been reading his essays for a while now. Here are some extracts which I liked and so it begins. Addictive things have to be treated as if they were sentient adversaries—as if there were a little man in your head always cooking up the most plausible arguments for doing whatever you're trying to stop doing. If you leave a path to it, he'll find it. And my main computer is now freed for work. If you try this trick, you'll probably be struck by how different it feels when your computer is disconnected from the Internet. It was alarming to me how foreign it felt to sit in front of a computer that could only be used for work, because that showed how much time I must have been wasting. From Disconnecting Distraction How do you avoid copying the wrong things? Copy only what you genuinely like. That would have sav