Is functional programming better for modularity?
MetadataShow full item record
In 1989 John Hughes published an influential position paper entitled Why Functional Programming Matters. The article extolls the virtues of lazy functional programming by developing several examples: the Newton-Rhapson squares root method, numerical differentiation and integration, and an alpha-beta minimax search. A main conclusion of that work is that higher-order functions and lazy evaluation significantly contribute to modularity. We have found that recent articles from 2010 to 2014 cite Hughes' work as seminal work supporting that functional programming is, in general, good for modularity. We believe this reflects an unstated hypothesis in part of the research community: functional programming is inherently better at modularity than other paradigms such as typical procedural and object-oriented programming. To the best of our knowledge there are no (large-scale) empirical evaluations of this characteristic. We discuss the influence of Why Functional Programming Matters on current beliefs regarding the advantages of functional programming, the recent citations that intrigues us, and provide a small experiment on the GHC Haskell compiler, suggesting the existence of modularity issues in it.
Showing items related by title, author, creator and subject.
Bavota, G; Carnevale, F; Oliveto, R; De Lucia, A; Di Penta, M (2012)This paper proposes the use of Interactive Genetic Algorithms (IGAs) to integrate developer’s knowledge in a re-modularization task. Specifically, the proposed algorithm uses a fitness composed of automatically-evaluated ...
Bavota, G; Gethers, M; Oliveto, R; Poshyvanyk, D; De Lucia, A (Association for Computing Machinery (ACM), 2014)Oftentimes, during software maintenance the original program modularization decays, thus reducing its quality. One of the main reasons for such architectural erosion is suboptimal placement of source-code classes in software ...
Zahir A; Pulimeno A; Demarchi D; Graziano M; Piccinini G; Mahmoud A; Lugli P (IEEE, 2015)Recently, several molecular devices have been realized with interesting properties like conductance, switching, gate modulation and negative differential resistance. In this paper we present a new modular framework based ...