Newsletters Welcome, Guest Log In | Register

SMB Tech

Expert tech insight and advice for small businesses with big goals

About this Blogger RSS

Subscribe

Sign up now and get the best business technology insights direct to your inbox.

  • Daily Edge
  • CTO Edge Update
  • Business Tools & Templates
  • Aligning IT & Business Goals
  • Maximizing IT Investments

0

Write Programming Code from Scratch, or Reuse?

Posted by Paul Mah Nov 7, 2008 1:09:55 PM

I chanced upon the above question from an IT professional who sought advice on whether he should adopt programming code from an existing framework or write everything from scratch.

 

It brought on a moment of deja vu. You see, I was a staunch advocate of the "write all the code yourself" camp as a novice system administrator-cum-programmer years ago. When the PC linked to my company's automated time-clocking terminals broke down in a freak power surge - even the hard disk stopped working - I promptly contacted the manufacturer of the clocking machine for the specifications to rewrite the missing controller software. No problem writing my own code here, I thought. Surely nothing can beat the performance and intimate understanding of one's own code, right?

 

The new application ran in the background as an NT service on a server, automatically polling the clocking machine up to twice a day. Compared to the previous manual and multi-step process, my application was clearly superior. In addition, retrieved data was fed directly into the HR software system to compute the payroll.

 

So what was the problem?

 

Well, the application was entirely coded by me, and I am ashamed to say, sparsely documented. Certainly, the next administrator was going to have an inordinately difficult time - if it was at all possible - trying to figure out how everything worked together. And because my immediate superior was the finance manager with no IT experience, there was no one to question my glaring omission.

 

The use of an existing framework or an existing code library would have helped the situation tremendously. Not only will they be better documented, the fact that they are used by more programmers will invariably mean a more robust code base.

 

While programming frameworks do make sense to organizations of all sizes, I feel they are all the more important for SMBs, as they tend to have fewer resources to commit to reworking or deciphering unmaintainable code.

 

This is such an important lesson. Managers, the next time your programmer or system analyst comes to you with a proposal, be sure to ask for details about the framework or code libraries to be used. An answer involving "writing from scratch" for anything other than the simplest of applications might mean that you need to study the proposal in more detail.

Add a comment Leave a comment on this blog post.

There are no comments on this post

Reduce Cost and Improve Service Levels with Application Performance Monitoring Simplification

Join Mary Johnston Turner, IDC Research Director, and John Frech, IBM VP, as they discuss the importance of a simplified and effective approach to application performance monitoring.

The IBM Rational Jazz Strategy for Collaborative Application Lifecycle Management

This white paper discusses the Jazz project, a set of integrated tools and processes that help people working on distributed teams become more effective in producing software solutions.

Applications for Mid-size Businesses

Applications that mid-sized businesses can use to improve operational efficiency, accelerate growth, and maintain profitability.

Tape Storage

Disaster recovery and business continuation that includes encryption, all at a manageable TCO.

Information Management

Tools, tips and solutions to help you manage your data more efficiently to tackle today's challenging economic environment.

Laptop Security

Answers to the ongoing challenges of the mobile office: to work anywhere, securely and efficiently.

Six Sigma Framework for IT

This collection of tutorials, calculators, and templates will show you how to apply six sigma thinking to IT service management.

Learn more >

Strategic IT Planning & Governance Best Practices Guide

Use this guide — along with the more than 60 templates included — to ensure the overall success of your entire IT department.

Learn more >