Bachelor Degree Project Comparing functional to imperative Java
نویسندگان
چکیده
Java has recently become a multi paradigm language, with the functional paradigm now made available alongside the traditional, imperative, one. Programming in the functional paradigm may be considered complicated or hard to read, and there may be concerns that the code it produces may become hard to maintain because of complexity or readability issues. On the other hand, proponents of the functional paradigm promises smaller amounts of less complex code, as the framework takes on a larger responsibility. This Bachelor’s thesis closely examines the differences between effectively equal code written in functional and imperative Java, respectively, from the aspects of readability, complexity and verbosity, and shows that while code written in the functional paradigm is smaller and less complex, it is not harder to read. software architecture, java, functional java, complexity, readability, verbosity, functional programming
منابع مشابه
On the Benefits of Combining Functional and Imperative Programming for Multicore Software An Empirical Study Comparing Scala and Java
Recent multi-paradigm programming languages combine functional and imperative programming styles to make software development easier. Given today’s proliferation of multicore processors, parallel programmers are supposed to benefit from this combination, as many difficult problems can be expressed more easily in a functional style while others match an imperative style. However, due to a lack o...
متن کاملComparative Study of the Iranian nursing bachelor's degree program with the International Islamic University of Malaysia
Introduction: There are different nursing education programs in each country, which are rooted in their traditions. Comparing different educational programs will enhance the content and quality of the curriculum. This study aimed to compare the Iranian nursing bachelor program with Islamic International University of Malaysia. Methods: This descriptive-comparative study was conducted in 2018 ...
متن کاملDebugging of Java Programs using a model-based approach
Model-based diagnosis is a successful AI technique for diagnosing physical systems but faces new challenges when applied to finding faults in software, i.e., debugging. Previous work has mostly dealt with modeling the behavior of programming languages with exploitable special properties: logic, concurrent, or functional. This paper presents a model that is usable for the representation of imper...
متن کاملGrail: a functional form for imperative mobile code
In Robert Louis Stevenson’s novel [31], Dr Jekyll is a well-regarded member of polite society, while his alter ego Mr Hyde shares the same physical form but roams abroad communing with the lowest elements. In this paper we present Grail, a well-behaved first-order functional language that is the target for an ML-like compiler; while also being a wholly imperative language of assignments that tr...
متن کاملJade – Java Diagnosis Experiments Status and Outlook
Model-based diagnosis is a successful AI technique for diagnosing physical systems but faces new challenges when applied to finding faults in software, i.e., debugging. Previous work has mostly dealt with modeling the behavior of programming languages with exploitable special properties: logic, concurrent, or functional. In this paper we describe the objectives, the current state, and the addre...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2017