6 Replies - 3900 Views - Last Post: 23 October 2012 - 07:58 PM Rate Topic: -----

#1 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8343
  • View blog
  • Posts: 31,890
  • Joined: 06-March 08

The cutest bug I have ever seen

Posted 04 May 2012 - 02:01 PM

Just discovered this forum.
The best bug I have ever seen... it is even in my signature
applies to C/C++ and Java

   switch(value) {
      case 1:
        ....
        break;

      case 2:
        ....
        break;

      defau1t:    // the "1" in "default" is a 1 (number one) not a l (letter l)
        ....
        break;
   }


:)

Is This A Good Question/Topic? 0
  • +

Replies To: The cutest bug I have ever seen

#2 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5379
  • View blog
  • Posts: 27,350
  • Joined: 10-May 07

Re: The cutest bug I have ever seen

Posted 04 May 2012 - 02:14 PM

That is one l33t bug!
Was This Post Helpful? 0
  • +
  • -

#3 DimitriV  Icon User is offline

  • They don't think it be like it is, but it do
  • member icon

Reputation: 584
  • View blog
  • Posts: 2,738
  • Joined: 24-July 11

Re: The cutest bug I have ever seen

Posted 04 May 2012 - 02:16 PM

l0l!
Was This Post Helpful? 0
  • +
  • -

#4 jon.kiparsky  Icon User is offline

  • Pancakes!
  • member icon


Reputation: 7949
  • View blog
  • Posts: 13,538
  • Joined: 19-March 11

Re: The cutest bug I have ever seen

Posted 04 May 2012 - 02:20 PM

This is why I edit all my programs in hex instead of that annoying roman alphabet. There's no way to mix up x31 and x6C! :)
Was This Post Helpful? 0
  • +
  • -

#5 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8343
  • View blog
  • Posts: 31,890
  • Joined: 06-March 08

Re: The cutest bug I have ever seen

Posted 05 May 2012 - 10:16 AM

*
POPULAR

:)

Attached image(s)

  • Attached Image

Was This Post Helpful? 7
  • +
  • -

#6 davidcatnc  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 19-August 08

Re: The cutest bug I have ever seen

Posted 12 June 2012 - 11:49 AM

When I see syntax bugs that could be typos, I always look at my keyboard and measure how far away the two keys are from each other. This typo, I have to believe that they actually thought the lower case "l" was a "1" in the syntax, maybe overtired? That one really hurts my brain :-(
Was This Post Helpful? 0
  • +
  • -

#7 extremeblueness  Icon User is offline

  • D.I.C Head

Reputation: 16
  • View blog
  • Posts: 186
  • Joined: 22-October 12

Re: The cutest bug I have ever seen

Posted 23 October 2012 - 07:58 PM

lol. I actually fell out of my chair with this one.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1