hard coded

hard coded definition - computer

Refers to programming code that solves a problem, but offers no flexibility. Hard coding could be thought of as "brute force" programming: it gets the job done, and it is common in every program. However, the degree to which a program is hard coded determines how difficult it is to change with each new type of data that is introduced or each new function that is added.

Because It Is Easier
Very often, the processing is hard coded in the first release of an application and generalized later. The reason is simple. It is always easier to hard code a solution than to write a generalized routine that handles a variety of possibilities.

Hard Coding Vs. Hand Coding
While hard coding and "hand coding" sound somewhat similar, they are not. Hard coding refers to writing a fixed solution rather than a generalized one. Hand coding refers to writing the program in a programming language rather than a high-level GUI-based tool. See hardwired, hand coding, generalized program and data independence.



Computer Desktop Encyclopedia THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
Copyright © 1981-2009 by Computer Language Company Inc. All rights reserved.

Comments
Improve this definition.
Do you have more to add? Share your linguistic knowledge or observation.
/Register to save your comments.