Thursday, July 21, 2005

Copy Paste Side Effect

Came across a funny bug in a piece of Java application code

for (int counter = 0 ; counter < maxCount; maxCount ++){ //code }

Gives away the amount of copy-paste that could have happened.

11 Comments:

Blogger monu said...

funny!
that must be someone like me!
:)

Thu Jul 21, 05:14:00 PM 2005  
Blogger Unknown said...

@Monu : As they say, many applications run on Ctrl-C and Ctrl-V

Thu Jul 21, 05:58:00 PM 2005  
Blogger tt_giant said...

hmm.. nice one. but even before execution, there would be an error since, there is an 'o' instead of a '0'.

of course, after that.. he he.

Thu Jul 21, 10:12:00 PM 2005  
Blogger Narayanan Venkitu said...

Java/ cut and paste? KILO? Please.!

Fri Jul 22, 06:04:00 AM 2005  
Blogger Unknown said...

@tt_giant : The font that I chose displays zero and 'o' the same way :(

@Venkat : Sorry sire. I just could not resist pasting this bug. Sorry !

Fri Jul 22, 09:47:00 AM 2005  
Blogger Adaengappa !! said...

Enakku onnum puriyala..Excuse me !!

Sat Jul 23, 08:06:00 AM 2005  
Blogger Unknown said...

@Adengappa : Some silly bug made due to oversight. Avalo dhaan !

Sat Jul 23, 10:53:00 AM 2005  
Blogger GS said...

haha! For a moment, I could not recognize the bug.

Mon Jul 25, 12:08:00 PM 2005  
Blogger Unknown said...

@Gayathri - Thatz y itz a bug :)

Mon Jul 25, 06:39:00 PM 2005  
Blogger Fathima Sagar said...

hey! when did u get access to my pgms?

Tue Jul 26, 06:02:00 PM 2005  
Blogger Unknown said...

@Fathima - :) I felt the same when I saw this bug

Tue Jul 26, 07:04:00 PM 2005  

Post a Comment

<< Home