What is your favourite bug? (Was: brain gymnastics)

new topic     » topic index » view thread      » older message » newer message

Carl,

> ROFL! I like it! Deliberate bad formatting => confusing code.
 > Were the heck did you find this nightmare?! smile

 Originally it was a mean little bug in one of my programs.
 I solved an equation on a piece of paper and ended up with

        -y = ...

 Sometimes it makes sense to keep the minus sign on the right
 side, so I wrote this straight into my program. Because y already
 had a value and because the previous line happened to be an
 expression, everything seemed to work just fine...

 Until I realized it didn't. Type checking didn't catch any error, the tracer
 seemed to just elegantly jump over exactly the line  I was interested
 in... In the end I was certain there was a bug in Eu!

 This one must be my favorite bug, and that could be a cool thread:
 I guess it stands to reason that smart programmers like us also write
 smart bugs...  So everybody: what is your all time favorite bug? blink

 Tor

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu