A bottom-up approach to understand functional programs

  • Authors:
  • Gustavo Villavicencio

  • Affiliations:
  • Universidad Católica de Santiago del Estero, Campus de la UCSE, Santiago del Estero, Argentina

  • Venue:
  • Proceedings of The Fourth International C* Conference on Computer Science and Software Engineering
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

One affective way to carry out a program comprehension process is by refactoring the source code. In this paper we explore this approach in the functional programming paradigm, on Haskell programs specifically. As result, we have identified many correlations between the traditional (procedural and object-oriented) program comprehension process and the so called understanding-oriented refactorings, in the functional programming context. Besides, we have identified a catalog of refactorings used to improve program efficiency which, applied in reverse order, are valuable for program understanding purposes. Coupled to these refactorings, there is a calculational process by (means of) which we obtain a full formal description of program functionality. All together, a bottom-up program comprehension strategy in the functional setting is described.