ITWeb - The Technology News Site
FREE NEWS SERVICES
• Newsletters

• RSS feeds

• Alerts
CAREERWEB
• Register

• Post your CV

• Find your job
BRAINSTORM
• Subscribe

• Read online
iWEEK
• Subscribe

• Read online

• Get into iWeek
IT TRAINING
• TrainingWeb

ITWEB EVENTS

• Events Calendar
FEEDBACK
• Post your feedback

• Send us a news tip
back to the ITWeb home page Sales info
SEARCH 

advertisement


Loading...
Free daily and weekly newsletters.
Latest IT and telecoms news, information and commentary.
Click here to subscribe.

advertisement


Loading...

ITWeb Enterprise Mobility 2010 Conference

ITWeb MobileBiz
28 - 29 July 2010| Vodaworld, Midrand
Booking fee:
R4 155.00 (excl VAT)
Attend this conference and learn how to ensure the ultimate customer experience by taking your business wherever customers are, 24/7. Give your customers what they want - faster and better access to information!

Click here to book your place today!

Diamond Sponsor

Platinum Sponsor

Sybase Mobile

Gold Sponsor


Software Development | FAQ
Å HOME Æ BROWSE ARCHIVE
Section editor:
Warwick Ashford

Thu, 9 February 2012
Good software development saves time and money. The answers to the questions below give more information on the development process.
 
arrow.gif (117 bytes) What are some common problems in the software development process
arrow.gif (117 bytes) What are some solutions to these problems
arrow.gif (117 bytes) What is good code
 
What are some common problems in the software development process?

Developers are often not sure of a customer’s needs. If requirements are unclear, incomplete or too general, there will be problems.

Requests from clients to add new features after the development has begun can cause missed deadlines, frustration and a tarnished relationship between role-players.

Developers often work against an unrealistic schedule, which has a drastic effect on job results – with too little time and too much pressure, problems are sure to arise.

If inadequate testing is done on the software, bugs will be picked up only later by an irate customer who might never employ the services of the developer again.

What are some solutions to these problems?

Establish clear communication channels between developer and client. Make use of group communication tools (like groupware, an intranet etc) where possible and use continuous communication with end-users to clarify communications.

Make sure the client understands the consequences of changes they make might have on the process.

Stick with initial requirements and make sure they are clear, complete, detailed, cohesive, attainable, testable and agreed to by all players.

Time schedules should be realistic to allow adequate time for planning, design, testing, bug fixing, re-testing, changes and documentation.

What is 'good code'?

“Good code” is bug-free, readable and maintainable code that actually works. Use these guidelines to create good, clean and sensible code.

1. Reduce or remove use of global variables.
2. Have expressive function and method names using both upper and lower case, avoiding abbreviations, using as many characters as necessary to be adequately descriptive; and being consistent in naming conventions.
3. Function and method sizes should be kept to a minimum – less than 100 lines of code is good, but under 50 lines is favourable.
4. Function descriptions should be made clear in comments preceding a function's code.
5. Organise code for readability.
6. Utilise white space generously both vertically and horizontally.
7. Each line of code should contain a maximum of 70 characters.
8. Use one code statement per line.
9. Keep coding style consistent throughout a program.
10. With regards to adding comments, a rule of thumb is that there should be at least as many lines of comments (including header blocks) as lines of code.
11. All applications should include documentation of the overall program function and flow.

12. Make extensive use of error handling procedures and status and error logging.




 
to the top of this page

Copyright (c) 1996 - 2012 ITWeb Limited. All rights reserved.
Would you like to see your news here? Contact us for more details at itnews@itweb.co.za
Striata Rackspace Sophos BBG Technologies