Comparing functional to imperative Java : with regards to readability, complexity and verbosity

Detta är en M1-uppsats från Linnéuniversitetet/Institutionen för datavetenskap (DV)

Sammanfattning: 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.

  HÄR KAN DU HÄMTA UPPSATSEN I FULLTEXT. (följ länken till nästa sida)