Thread
:
Stupidest Programming Mistakes
View Single Post
#
2
05-02-2006, 11:14
Donut
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,308
Re: Stupidest Programming Mistakes
This is easily the worst mistake made this year.
Code:
Else (current_state == enabled && last_state == disabled)
It took us 3 hours of staring at it to realise you can't put conditions on an else.
Donut
View Public Profile
Find all posts by Donut
Find CD-Media Photos by Donut
Find CD-Media Papers by Donut