|
Photo Albums | Search | About Us | Log In | |||
|
| |||||||
|
Blog
Archive Bad coder, no donut Archive |
Wednesday Mar 28, 2007
Learn how to crash Safari in just 2 short lines of Javascript: var elm = document.getElementById("myElm"); elm.dispatchEvent(false); Posted 6:34 PM by Kristoffer Monday Jul 17, 2006 Don't have a try/catch that catches every exception. If you absolutely do have to have a try/catch (say for example as the outermost catch in a thread), make sure you do something when you catch the exception. Having a try/catch that does nothing is asking for mysterious bugs that appear later as a result of your internal data getting into an unknown state. Posted 12:55 PM by Kristoffer Tuesday Jun 21, 2005 Frame f contains Panel p. Panel p contains Button b. Button b toggles visibility of Frame f. Posted 2:33 PM by Christy Wednesday Jun 1, 2005 Noteworthy CVS comment: "Exorcising unnecessary code" Posted 11:26 AM by Christy Wednesday Jan 19, 2005 Mea culpa. If Not bCanDelete Then Begin bCanDelete := False; End Else ...I have no idea how this got into my code. I might have done it or one of the other people who worked on it might have done it. Still, it's pretty bad. Posted 8:17 AM by Kristoffer |
||||||
![]() |
|||||||