| |
Hardcoding is the practice of embedding things in code and softcoding is the use of configuration and parameters. In the past, hardcoding was a common problem whereby things that clearly needed to be configurable were stuck in code. Generations of programmers were taught to avoid hardcoding. This has resulted in the opposite problem of excessive softcoding. In some cases, code is wimpy about implementing logic and pushes everything into numerous configuration files. The result is bloated code that shifts errors from compile time to runtime where they are more difficult to detect. In some cases, softcoding results in something resembling a bizarre proprietary scripting language.
In many cases, hardcoding vs softcoding comes down to factors such as programming style and team culture. |
Type | | Hardcoding Definition | Placement of values and functions in code. | Softcoding Definition | Placement of values and functions in configuration and parameters for use in code. | Rules of Thumb | Hardcore what can reasonably be expected to require a programmer to change. Softcode to allow business, operations and users to modify software functionality without a programmer.
| Related Concepts | |
IT Skills
This is the complete list of articles we have written about it skills.
If you enjoyed this page, please consider bookmarking Simplicable.
A reasonably comprehensive list of information technologies.
A list of gamification techniques.
A list of common IT problems.
The basic types of cloud computing.
The common types of machine data.
The common types of software.
A definition of proprietary technology with examples.
The common elements of a systems design.
The difference between systems and applications explained.
Simplicable is a study site that has been updated daily since 2010.
A list of interesting business theories.
A definition of knowledge work with examples.
A list of social processes, absurdities and strategies related to office politics.
A guide to product development.
The differences between types of knowledge.
An overview of the trough of sorrow.
A list of common business models.
A list of key marketing strategies.
A few sources of competitive advantage for businesses.
TrendingThe most popular articles on Simplicable in the past day.
Recent posts or updates on Simplicable.
Site Map
© 2010-2024 Simplicable. All Rights Reserved. Reproduction of materials found on this site, in any form, without explicit permission is prohibited.
View credits & copyrights or citation information for this page.
|