Saturday, October 31, 2009

Long time no c..

Some day.. yeah some day when someone says "long time no c" on IM, I wanna reply with -
Really? read this then.. #include "stdio.h"


But I can't.. I can't because of my own rules..

Lets go through our basics first. IM, Instant messaging is build in such a way that we can type only one line at a time...Well, there's a reason behind it.. humans can read only one f*kin line at a time... I hate when people copy paste something in IM. In my case, most of the times, this copy pasted thing is some huge snippet of code.. (huge snippet, is this a valid phrase?)

Hey, can you have a look at this ? DHAM!!
Hey, please check this. DHAM!!
Looks like there's something wrong in this. DHAM!!
Hey, any idea why this is not working? DHAM!!
.. and then I changed my function to this. DHAM!!

now replace DHAM with that "huge snippet" but keep the DHAM sound ringing in your ears.

Taking it to next level, some people write something in between..
//huge code
this is better or this is -
//again huge code.

I takes me like 5-10 mins to find the text in-between...

I really can't.. I won't use IM for debugging.. this is crazy.. one second you are looking at nice lil chat window with text that you know, next thing you have poor lil window cluttered with non-sense code..
Even a smallest bug looks like really crazy, creepy bug in IM. And yet, every time I try resizing my window to fit the length of that code and try to understand it. No need to say I don't understand a thing in it..

So people.. IM is not for sucha things.. may be you have wave for that (yey! found first use of google wave!)
Think about person on the other side... think about your children (huh?), think about poor lil IM window and stop pasting code in chat window...

[Else I'll start pasting wikipedia articles in that window]


9 Comments:

Mithila said...

Go Praj! Save the IM world!! Go go goooo!!

Jitesh Shah said...

pastebin.com is the solution to all worries!

Its great for collaborative debugging.

Praj ~ said...

and so is wave ?

Vedang said...

"keep the DHAM sound ringing in your ears"..
LOLZ
and no, wave won't be a good tool, because it won't have syntax based highlighting and indentation. Pastebin has all this.

FrostBite said...

All my DHAM's are on a circuit board...but inaapropriate nevertheless....well written!

Sameer said...

Check out syntaxy for wave.... : http://wave-samples-gallery.appspot.com/about_app?app_id=14008

Praj ~ said...

haha nice @sameer...
Now what say you @vedang ?

Nachiket said...

"dham" is really spot on :D
Cool useful Tools all these look...
@Prajwalit - I agree.. wave sounds useful after I read this ("yey...").. (I hadn't been able to think of any sort of useful use ...)

Anonymous said...

Good evening

We do not agree with this year BRIT awards decision.

Please come to see our little poll

http://micropoll.com/t/KDqOnZBCWt

Lady Gaga can not be better than heavy metal

Poll supported by BRIT awards 2010 sponsor femmestyle
[url=http://www.femmestyle.ch/schoenheitschirurgie/facelift/index.html]facelift[/url]

Do you have a burning question we could ask all the stars at The BRIT Awards?