View Single Post
Old 10-02-2015, 02:09 PM   #26503
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
Quote:
Originally Posted by Cinisajoy View Post
I can cook and I still burn dinner on occasion. (Usually the cream style corn).
Also do not try to shred lettuce with the kitchenaid shredder.
Yes, obviously. I can design software and thus program, but sometimes, stupid mistakes still happen. Sometimes it can be a one character mistake:

if (x = 5) { do_stuff(); }

vs.

if (x == 5) { do_stuff(); }

In the first statement, x will become 5. x is now larger than 0. In most languages, a result larger than 0 is counted as "true", so in this case, do_stuff() will always run. In the second statement, x is compared to 5, and do_stuff() will only run if x is indeed 5.

One character difference... huge wrong results/errors/bugs/crashes
Katsunami is offline   Reply With Quote