|
| This Article | ||
| ||
| Share | ||
| Bibliographic References | ||
| Add to: | ||
| | ||
| Search | ||
| ||
| ASCII Text | x | ||
| Diomidis Spinellis, "The Importance of Being Declarative," IEEE Software, vol. 30, no. 1, pp. 90-91, Jan.-Feb., 2013. | |||
| BibTex | x | ||
| @article{ 10.1109/MS.2013.18, author = {Diomidis Spinellis}, title = {The Importance of Being Declarative}, journal ={IEEE Software}, volume = {30}, number = {1}, issn = {0740-7459}, year = {2013}, pages = {90-91}, doi = {http://doi.ieeecomputersociety.org/10.1109/MS.2013.18}, publisher = {IEEE Computer Society}, address = {Los Alamitos, CA, USA}, } | |||
| RefWorks Procite/RefMan/Endnote | x | ||
| TY - MGZN JO - IEEE Software TI - The Importance of Being Declarative IS - 1 SN - 0740-7459 SP90 EP91 EPD - 90-91 A1 - Diomidis Spinellis, PY - 2013 KW - Programming KW - Documentation KW - Encoding KW - Domain specific languages KW - Digital audio broadcasting KW - Libraries KW - techniques KW - declarative programming KW - abstraction KW - benefits VL - 30 JA - IEEE Software ER - | |||
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/MS.2013.18
A declarative programming style focuses on what you want your program to do rather than how to perform the task. By avoiding implementation details, well-written declarative code is easier to understand, modify, and maintain. The code you write in a declarative style is often so readable that you can share it with your project's domain experts. Furthermore, once you start working with declarative code, you can automatically process it to verify properties of its operation, generate test cases, or create parts of the system's documentation. Small choices, such as the naming of your methods and variables, matter. If you're coding an algorithm, have your code match the algorithm's published description. Other approaches to consider include table-driven programming, the implementation of a domain-specific language, or the use of task-specific libraries. When you have the choice, pick the highest level language you can afford and that's suitable for the task at hand. The Web extra at http://youtu.be/s4oWie6laq4 is an audio podcast of author Diomidis Spinellis discussing why well-written declarative code is easier to understand, modify, and maintain.
Index Terms:
Programming,Documentation,Encoding,Domain specific languages,Digital audio broadcasting,Libraries,techniques,declarative programming,abstraction,benefits
Citation:
Diomidis Spinellis, "The Importance of Being Declarative," IEEE Software, vol. 30, no. 1, pp. 90-91, Jan.-Feb. 2013, doi:10.1109/MS.2013.18
Usage of this product signifies your acceptance of the Terms of Use.

