View Single Post
  #1   Spotlight this post!  
Unread 05-02-2013, 13:00
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: Maximum Rounds Played at a regional event??

Quote:
Originally Posted by frasnow View Post
I would recommend you try to design your software without limiting the number of matches. Why not make the number of matches a setting? Programmers are always making the mistake of saying "we'll never run-out of ______." You might be too young to remember Y2K, but I recommend reading about it.
This.

Write your code to be flexible to the number of matches. I've lost track of the number of times I programmed in a "magic number" hard limit to something and had that cause unpredictable results somewhere down the road because it was exceeded.

It's also exactly like creating CAD models; draw them robustly using reference planes, axis' and robust sketch relations and dimensions, and the CAD model is very resilient to iterative change. Try to cut corners by doing things "quicker", and you'll spend more time in the long run fixing sloppy work than just doing it right the first time.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.

Last edited by artdutra04 : 05-02-2013 at 13:03.
Reply With Quote