Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Mike Yearwood
  Where is Mike Yearwood?
 Toronto
 Canada
 Mike Yearwood
 To: Kevin
  Where is Kevin?
 edwardsville
 Illinois - United States
 Kevin
 Tags
Subject: RE: Best Coding Practices for Newbies
Thread ID: 160033 Message ID: 169928 # Views: 61 # Ratings: 0
Version: Visual FoxPro 8 Category: General VFP Topics
Date: Saturday, April 26, 2008 10:09:55 PM         
   


> > Today I use VFP to improve my own productivity and distribute my work to a very small community.
> >
> > Foxite is a great resource for keeping me out of trouble, but someday I know I'll need to hire an expert to make my applications more robust and networkable.
> >
> > So I direct my query to you VFP consultants in Foxite land: What are the common coding practices that newbies make that I should avoid to make your consulting life easier?
> >
> > Three things I've heard on Foxite so far
> >
> > 1. Keep public variables to a minimum
> > 2. Use Hungarian notation
> > 3. Create your own subclasses of the VFP base classes
> > 4. . .
> > 5. . .
> >
> > Are there certain coding practices that make you want to tear your hair out?
> >
> > Dan Baker
> > Effort of the Poconos, PA, USA
>
>
> Question
>
> I am working on a boat sale closing form
> that will print all of the many forms that the
> different state agencies and bank require.
> I am at the early stage so I can change anything at this point
> Right now I have one file that contains all of the information needed
> Customer info, lien holder info, boat info color length, propulsion etc,
> Is there a compelling reason to break this into several files? Lien holder file, customer file, boat file, etc The table will never be huge maybe over many years it will Have thousands of records not millions not even hundreds of thousands

Professional software developers are supposed to know to normalize data files. This should be a new topic.

The sale is one file. The customer is another file. The boat may have been sold with extras. These could be in yet another file. The boat base price plus the sum of the extras is the final sales price on the invoice. Very typical stuff.

If you have all data in one record, multiple people cannot work with the record at the same time.

Mike Yearwood






COMPLETE THREAD
Best Coding Practices for Newbies Posted by Dan Baker @ 2/11/2008 9:45:47 PM
RE: Best Coding Practices for Newbies Posted by Ken Murphy @ 2/11/2008 10:20:17 PM
RE: Best Coding Practices for Newbies Posted by Marcia Akins @ 2/11/2008 10:37:35 PM
RE: Best Coding Practices for Newbies Posted by Bernard Bout @ 2/12/2008 3:13:39 AM
RE: Best Coding Practices for Newbies Posted by tushar @ 2/12/2008 3:44:07 PM
RE: Best Coding Practices for Newbies Posted by Glenn Villar @ 4/26/2008 8:44:34 AM
RE: Best Coding Practices for Newbies Posted by Cetin Basoz @ 2/12/2008 3:52:43 PM
RE: Best Coding Practices for Newbies Posted by Leslie Botchway @ 2/12/2008 11:12:49 PM
RE: Best Coding Practices for Newbies Posted by Ken Murphy @ 2/13/2008 2:12:32 AM
RE: Best Coding Practices for Newbies Posted by Leslie Botchway @ 4/28/2008 1:38:57 PM
RE: Best Coding Practices for Newbies Posted by Jun Tangunan @ 4/28/2008 3:02:59 PM
RE: Best Coding Practices for Newbies Posted by Lyrad Bangoy @ 4/29/2008 9:33:26 AM
RE: Best Coding Practices for Newbies Posted by Christian Tabligan @ 4/29/2008 10:05:09 AM
RE: Best Coding Practices for Newbies Posted by Lyrad Bangoy @ 4/29/2008 10:19:00 AM
RE: Best Coding Practices for Newbies Posted by Cetin Basoz @ 4/29/2008 10:49:48 AM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/29/2008 7:31:25 PM
RE: Best Coding Practices for Newbies Posted by Cetin Basoz @ 2/13/2008 11:15:28 PM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 2/14/2008 7:20:53 PM
RE: Best Coding Practices for Newbies Posted by Pamela Thalacker @ 2/12/2008 9:17:58 PM
RE: Best Coding Practices for Newbies Posted by Tamar Granor @ 2/12/2008 11:13:57 PM
RE: Best Coding Practices for Newbies Posted by Ken Murphy @ 2/13/2008 2:17:48 AM
RE: Best Coding Practices for Newbies Posted by Bernard Bout @ 2/13/2008 5:55:54 AM
RE: Best Coding Practices for Newbies Posted by Ken Murphy @ 2/13/2008 10:28:13 AM
RE: Best Coding Practices for Newbies Posted by Christian Tabligan @ 2/13/2008 2:37:30 PM
RE: Best Coding Practices for Newbies Posted by Ilya Rabyy @ 2/13/2008 7:14:07 PM
RE: Best Coding Practices for Newbies Posted by Andy Kramek @ 2/13/2008 7:39:02 PM
RE: Best Coding Practices for Newbies Posted by Ilya Rabyy @ 2/13/2008 8:12:51 PM
RE: Best Coding Practices for Newbies Posted by Christian Tabligan @ 2/13/2008 7:46:29 PM
RE: Best Coding Practices for Newbies Posted by Ilya Rabyy @ 2/13/2008 8:28:26 PM
RE: Best Coding Practices for Newbies Posted by Christian Tabligan @ 2/13/2008 8:48:11 PM
RE: Best Coding Practices for Newbies Posted by Ilya Rabyy @ 2/13/2008 9:01:18 PM
RE: Best Coding Practices for Newbies Posted by Juan Antonio Santana @ 2/13/2008 3:46:59 PM
RE: Best Coding Practices for Newbies Posted by Ilya Rabyy @ 2/13/2008 7:28:57 PM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 2/14/2008 7:31:37 PM
RE: Best Coding Practices for Newbies Posted by Ilya Rabyy @ 2/14/2008 8:45:29 PM
RE: Best Coding Practices for Newbies Posted by Sandeep Misra @ 4/26/2008 4:16:39 AM
RE: Best Coding Practices for Newbies Posted by Ken Murphy @ 4/26/2008 2:36:22 PM
RE: Best Coding Practices for Newbies Posted by Sandeep Misra @ 4/28/2008 5:12:22 PM
RE: Best Coding Practices for Newbies Posted by Tamar Granor @ 4/28/2008 10:51:51 PM
RE: Best Coding Practices for Newbies Posted by Anders Altberg @ 4/27/2008 1:18:05 AM
RE: Best Coding Practices for Newbies Posted by tushar @ 4/27/2008 7:39:42 AM
RE: Best Coding Practices for Newbies Posted by Anders Altberg @ 4/27/2008 12:59:24 PM
RE: Best Coding Practices for Newbies Posted by tushar @ 4/27/2008 2:04:48 PM
RE: Best Coding Practices for Newbies Posted by Ken Murphy @ 4/27/2008 2:21:02 PM
RE: Best Coding Practices for Newbies Posted by Anders Altberg @ 4/28/2008 12:56:54 AM
RE: Best Coding Practices for Newbies Posted by tushar @ 4/28/2008 7:02:40 AM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/28/2008 1:33:37 PM
RE: Best Coding Practices for Newbies Posted by Anders Altberg @ 4/28/2008 9:06:34 PM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/28/2008 9:40:31 PM
RE: Best Coding Practices for Newbies Posted by tushar @ 4/28/2008 9:54:04 PM
RE: Best Coding Practices for Newbies Posted by Anders Altberg @ 4/29/2008 12:38:25 AM
RE: Best Coding Practices for Newbies Posted by tushar @ 4/29/2008 6:23:59 AM
RE: Best Coding Practices for Newbies Posted by Jun Tangunan @ 4/29/2008 7:33:02 AM
RE: Best Coding Practices for Newbies Posted by Anders Altberg @ 4/29/2008 3:43:15 PM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/29/2008 7:39:47 PM
RE: Best Coding Practices for Newbies Posted by Anders Altberg @ 4/29/2008 8:54:01 PM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/30/2008 1:08:53 AM
RE: Best Coding Practices for Newbies Posted by tushar @ 4/30/2008 6:51:25 AM
RE: Best Coding Practices for Newbies Posted by Kevin @ 4/26/2008 6:47:17 PM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/26/2008 10:09:55 PM
RE: Best Coding Practices for Newbies Posted by Kevin @ 4/27/2008 1:19:56 AM
RE: Best Coding Practices for Newbies Posted by Ken Murphy @ 4/27/2008 1:35:13 AM
RE: Best Coding Practices for Newbies Posted by Kevin @ 4/27/2008 1:45:30 AM
RE: Best Coding Practices for Newbies Posted by Ken Murphy @ 4/27/2008 2:49:46 AM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/27/2008 5:09:04 AM
RE: Best Coding Practices for Newbies Posted by Ken Murphy @ 4/27/2008 2:29:00 PM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/27/2008 4:54:49 PM
RE: Best Coding Practices for Newbies Posted by anton d @ 4/26/2008 7:47:01 PM
RE: Best Coding Practices for Newbies Posted by Garth Groft @ 4/28/2008 8:59:33 PM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/28/2008 9:41:17 PM
RE: Best Coding Practices for Newbies Posted by tushar @ 4/28/2008 10:00:24 PM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/28/2008 11:14:16 PM
RE: Best Coding Practices for Newbies Posted by Tamar Granor @ 4/28/2008 10:56:38 PM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/29/2008 12:14:37 AM
RE: Best Coding Practices for Newbies Posted by Anders Altberg @ 4/29/2008 12:50:06 AM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/29/2008 7:41:24 PM
RE: Best Coding Practices for Newbies Posted by Garth Groft @ 4/29/2008 9:32:04 PM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/30/2008 1:11:06 AM
RE: Best Coding Practices for Newbies Posted by Tamar Granor @ 4/30/2008 1:53:41 AM
RE: Best Coding Practices for Newbies Posted by Garth Groft @ 4/30/2008 2:10:22 AM
RE: Best Coding Practices for Newbies Posted by Tamar Granor @ 4/30/2008 1:50:36 AM
RE: Best Coding Practices for Newbies Posted by Bernard Bout @ 4/30/2008 2:43:38 AM
RE: Best Coding Practices for Newbies Posted by Mike Yearwood @ 4/30/2008 3:45:10 PM
RE: Best Coding Practices for Newbies Posted by Lyrad Bangoy @ 4/29/2008 9:37:22 AM