Softcoding: Difference between revisions

Content deleted Content added
Robbak (talk | contribs)
m enforcing aggreement of plurality
Zwilson (talk | contribs)
alternative design patterns
Line 10:
 
To avoid 'softcoding', consider the value to the end user of any additional flexibility you provide, and compare it with the increased complexity and related ongoing maintenance costs the added configurability involves.
 
Several design patters exist for achieving the flexibility that softcoding attempts to provide. An application requiring more flexibility than is appropriate for a configuration file may benefit from the incorporation of a [[scripting language]. In many cases, the appropriate design is a [[___domain specific language]] integrated in to an established scripting language. Another approach is to move most of an application's functionality in to a library, providing an API for writing related applications quickly.
 
In [[feature design]], softcoding has other meanings.