Go to Post A well-designed shifting transmission, controlled by an experienced driver (or a clever bit of software), is an advantage. - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 10-01-2006, 17:31
Rick Thornbro Rick Thornbro is offline
Registered User
#0217 (ThunderChickens)
Team Role: Engineer
 
Join Date: Mar 2005
Location: Sterling Heights, MI
Posts: 17
Rick Thornbro will become famous soon enoughRick Thornbro will become famous soon enough
Re: R71: Can't re-use code that you've written before?

Let's remember spirit of the rule. Let's use this time to teach new programmers the art of taking a hunk of metal and making it come alive. Taking code from a previous year and dumping it, is fast but doesn't teach anything.
  #17   Spotlight this post!  
Unread 10-01-2006, 17:39
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: R71: Can't re-use code that you've written before?

Quote:
Originally Posted by Rick Thornbro
Let's remember spirit of the rule. Let's use this time to teach new programmers the art of taking a hunk of metal and making it come alive. Taking code from a previous year and dumping it, is fast but doesn't teach anything.
True... although you do learn code reuse and the advantages of good, modular design. *shrug* Just another view.
__________________

  #18   Spotlight this post!  
Unread 10-01-2006, 17:45
Rick TYler Rick TYler is offline
A VEX GUy WIth A STicky SHift KEy
VRC #0010 (Exothermic Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Redmond, Washington
Posts: 2,000
Rick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond reputeRick TYler has a reputation beyond repute
Re: R71: Can't re-use code that you've written before?

Our software team lead was the apprentice software guy last year. Some of the interpretations above would lead me to believe that he would have to forget some of the clever algorithms he learned last year, otherwise he would write them exactly the same way again this year. Once you've figured out an algorithm and code structure that works, it's still the same even if you have to type it in from memory. If the rule was in support of learning programming from scratch, it would make more sense just to prohibit anyone who knew C programming before the kick-off from working on the code. Personally, I don't know how to unlearn something on purpose.

I going with "the rule doesn't make sense to me." Amongst dozens of clear (and far-thinking) rules, a small gray cloud has crept in. I don't find the explanations above satisfying, either. I guess I'll post this on the FIRST Q&A if someone hasn't beaten me to it.
__________________
Exothermic Robotics Club, Venturing Crew 2036
VRC 10A, 10B, 10D, 10Q, 10V, 10X, 10Z, and 575
  #19   Spotlight this post!  
Unread 10-01-2006, 18:00
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: R71: Can't re-use code that you've written before?

Quote:
Originally Posted by Rick Thornbro
Let's remember spirit of the rule. Let's use this time to teach new programmers the art of taking a hunk of metal and making it come alive. Taking code from a previous year and dumping it, is fast but doesn't teach anything.
FIRST has stated time and again that the program is not about teaching (they always refer to the I and R in FIRST), so I doubt this rule is intended to force teams to start over in order to teach their new programming people.

Besides, I've always thought that one of the best engineering practices is to build on what others have done.

We've discussed this for a few days now and I still am not entirely clear on the purpose of this rule. The rule equates software code to a mechanical part that's been produced - but why draw the line between software architecture and software coding? My mechanical friends can have a complex 3D part designed in AutoCAD ahead of the season and just press the big green button on the CNC machine to have it produced after kickoff. So why as a software person can't I just run my compiler on code I've already written to produce a compiled executable (which I argue is a better analogy to a machined part)?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Out of the Box Camera Code russell Programming 9 21-10-2009 05:28
Code suddenly fails to initialize miketwalker Programming 11 19-02-2005 15:23
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28
Sourceforge for Code Repository and other stuff SilverStar Programming 9 15-01-2005 21:16
heres the code. y this not working omega Programming 16 31-03-2004 15:18


All times are GMT -5. The time now is 16:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi