DEVELOPMENT: good software development practices

Here’s a list of 5 Good Programming Habits we picked up from Amy Bennett in her article at IT World:

  • The best trick I have is to type the sequences/use cases like a story before I write any code. The outline I create is read over and over, tweaking as I go.” (Dan Douglas)
  • Solve small, individual problems (The rule of ‘encapsulation’). If I try to make one part of my code do too much, then I’ve invited trouble. (Sean Devlin)
  • I like to write a routine first as pseudocode in comments, then translate the comments into source code. I find that this is a much faster method for me than writing the source code first. Any mistakes I make in the pseudocode are more easily fixed there than if I wrote the code first. As a bonus, I have accurate and useful comments when the routine is completed. (Jeffrey Henning)
  • Make improvements often — even if they are small — so you are always making some progress. (James Stauffer)
  • I make sure that I get a reasonable amount of sleep and that I come back to each piece of code/design/etc. after ‘sleeping on it’ so that I see/think about it from different angles and states of mind. This helps with everything. (John Mitchell)

Our “top tip” is to code defensively – always be thinking “what if?”. We find this particularly useful and helpful because the code module or class we’re writing for application “A” may well be used in application “B” at some point in the future. If the module or class hasn’t been coded defensively to produce solid bug-free code, then this could mean a lot of re-writes for the developer on application “B”.

Please share your thoughts and tips on how to produce great software development products.

Related Stories

See all

Modifying QuoteWerks QuoteValet to include a URL to Products

Oct 18, 2014

This blog article demonstrates how to modify the default QuoteWerks QuoteWerks web page HTML layout to include a URL to the Product on your (or your Suppliers) website for your prospect to click on for additional information. The following piece of HTML code is a snippet from our customised QuoteWerks QuoteValet page: <td class=”col-description”> <a […]

READ MORE

Stock Adjustments and Email Alerts in ConnectIt

Oct 09, 2014

Further to requests from customers, we will imminently be introducing Sage Stock Adjustments and email alerts into the ConnectIt-Sage50 software. The Stock Adjustment features will provide an additional option off of the QuoteWerks Tools menu called “Create Stock in Sage”. When clicked, this option will open a screen listing the Products that are on the […]

READ MORE

ConnectIt Pro Key Feature #4 – Company Branding

May 29, 2012

This is a feature that perhaps high volume resellers will be interested in, and give you the opportunity to customise the look of the software with your own corporate branding – logos, support and website links, even the images on the buttons(!). By branding the software to your image, you can either match ConnectIt to […]

READ MORE