Comparing functional to imperative Java: with regards to readability, complexity and verbosity
2017 (English)Independent thesis Basic level (university diploma), 10 credits / 15 HE credits
Student thesis
Abstract [en]
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.
Place, publisher, year, edition, pages
2017. , p. 26
Keywords [en]
software architecture, java, functional java, complexity, readability, verbosity, functional programming
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:lnu:diva-64712OAI: oai:DiVA.org:lnu-64712DiVA, id: diva2:1105192
External cooperation
Sony Mobile Communications
Subject / course
Computer Engineering
Educational program
Computer Engineering Programme, 180 credits
Supervisors
Examiners
2017-06-072017-06-022017-06-07Bibliographically approved