Java has recently become a multi paradigm language, with the functional paradigmnow made available alongside the traditional, imperative, one. Programming in thefunctional paradigm may be considered complicated or hard to read, and there maybe concerns that the code it produces may become hard to maintain because ofcomplexity or readability issues. On the other hand, proponents of the functionalparadigm promises smaller amounts of less complex code, as the framework takeson a larger responsibility. This Bachelor’s thesis closely examines the differences be-tween effectively equal code written in functional and imperative Java, respectively,from the aspects of readability, complexity and verbosity, and shows that while codewritten in the functional paradigm is smaller and less complex, it is not harder to read.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:lnu-64712 |
Date | January 2017 |
Creators | Bexell, Andreas |
Publisher | Linnéuniversitetet, Institutionen för datavetenskap (DV) |
Source Sets | DiVA Archive at Upsalla University |
Language | English |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Page generated in 0.0087 seconds