Go to Post Aha I just noticed you're from my team. --Petey - Petey [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 25-05-2009, 21:50
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,017
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: The "Right" way to program

I agree with those above.

Some things that many professional programmers do, can make programming easier. Right or wrong isn't the issue - easier work is.

1. Comment your code as you write it. For very obvious things, only a little commenting is OK, but for stuff that's complex, explain what you're doing. A year from now, it'll help you figure out what you were thinking.

2. Try little snippets of code to see if they work. Like building a robot, try each little piece to verify it works, then drop it into the 'big' program.

3. Don't be afraid to put in diagnostic code - things that will help you see what the program is doing every step of the way, so when something works unexpectedly, you can figure out why. (Comment this out for better performance later - but leave it in case you need it?)

4. Back things up constantly, a few times a day. (I make a backup every 10-15 minutes!). And make true backups - don't overwrite old versions, keep them! Disk space is cheap, as are USB memory sticks and external hard drives.

My 2 cents'
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
 


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
What's the difference between "The Great Attractor" and "Dark Flow" Woody1458 NASA Discussion 0 04-05-2009 22:17
Championship Event - Where the "Random" Match Sorting Really "Shines" Travis Hoffman Championship Event 57 19-04-2007 08:06
Program error - "can not fit the section" miketwalker Programming 9 20-02-2005 01:21
The exact name of the program "gift" we are to download? Flynn Programming 2 10-01-2005 21:47
"Thunderbirds" Vs. "Team America" Which one will rule the box office? Elgin Clock Chit-Chat 3 07-09-2004 19:53


All times are GMT -5. The time now is 21:55.

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