|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
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' |
|
#2
|
||||
|
||||
|
Re: The "Right" way to program
@Don I was terrible at commenting/diagnostic other than using the probe in LV which only helped occaisionally. I was backing up a lot at first but the usb drive i stored the backups on got filled in a week >.<
Definately try commenting, it will help. |
|
#3
|
||||
|
||||
|
Re: The "Right" way to program
thanks everybody for your comments!! This will definetly help me out alot for next year and teaching any new progammers who come on the team.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |