Softcoding

Softcoding

Softcoding is a computer coding term that means abstracting a current or planned hard coded value or function into a container that is controllable external to the main function, that could be changed without affecting the main function if required (may involve recompile but no change to the main code set).

Softcoding can also be an anti-pattern if abstracting the values introduces more complexity in maintenance than just changing the code. "Soft Coding" was featured in an article on Worse Than Failure, [ [http://worsethanfailure.com/Articles/Soft_Coding.aspx Softcoding] from The Daily WTF]

In feature design, softcoding has other meanings.
* Hardcoding: feature is coded to the system not allowing for configuration
* Parametric: feature is configurable via table driven, or properties files with limited parametric values
* Softcoding: feature uses “engines” that derive results based on any number of parametric values (i.e. business rules in BRE); rules are coded but exist as parameters in system,written in script form

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Hard coding — (also, hard coding or hardcoding) refers to the software development practice of embedding input or configuration data directly into the source code of a program or other executable object, or fixed formatting of the data, instead of obtaining… …   Wikipedia

  • The Daily WTF — URL http://thedailywtf.com/ Slogan Curious Perversions in Information Technology Typ …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”