Mid Sweden University

miun.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Java programming paradigm comprehensibility: Procedural versus Reactive
Mid Sweden University, Faculty of Science, Technology and Media, Department of Computer and System Science.
Mid Sweden University, Faculty of Science, Technology and Media, Department of Computer and System Science.
2021 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Software developers spend more time on reading than writingcode. Comprehensible code therefore has the potential tosignificantly improve software development andmaintenance by lowering the time needed for understandingexisting code. Previous research suggest that the choice ofProgramming paradigm may affect code comprehension. Thepresent study evaluates if a positive effect of ReactiveProgramming on comprehension can be attested incomparison to Procedural Programming. We let human testsubjects solve bugs in code-snippets of commonfunctionalities implemented either according to ReactiveProgramming or Procedural Programming in the Javalanguage and RxJava, its ReactiveX implementation. Thecomprehensibility of the code is measured by the test subjects’time consumption, with lower values indicating highercomprehensibility and higher values lowercomprehensibility.Within this study we also study the effect of prior knowledgeof reactive programming, and background in programming,on the results, by having test subjects from two groups: (1)software students with experience in Reactive Programming,and (2) experienced software developers and engineers withless experience in Reactive Programming.All tests took part in a tool of our design, the CodeComparator.Our results show that reactive puzzles are solved faster,suggesting higher comprehensibility, although highdispersion in solvability time, especially for the proceduralsolutions, make it difficult to assess the validity of this timedifference. The positive effect is notable in the student groupwhereas we cannot conclude if the other group solves reactiveor procedural puzzles faster

Place, publisher, year, edition, pages
2021. , p. 19
Keywords [en]
Java programming paradigm, comprehensibility, Procedural, Reactive
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:miun:diva-43168OAI: oai:DiVA.org:miun-43168DiVA, id: diva2:1597187
Subject / course
Computer Engineering DT1
Educational program
Software Engineering TPVAG 120/180 higher education credits
Supervisors
Examiners
Available from: 2021-09-27 Created: 2021-09-24 Last updated: 2025-09-25Bibliographically approved

Open Access in DiVA

fulltext(1144 kB)1141 downloads
File information
File name FULLTEXT01.pdfFile size 1144 kBChecksum SHA-512
a4c3d6d8c84db55b5bc2c5fda0e146cbf7a2e143251dc30fc9159aba41967082484d47db6836ab3cc330fe0a9e053d7113d4e16991a5c01b88573ed75e9f06e0
Type fulltextMimetype application/pdf

By organisation
Department of Computer and System Science
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 1141 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 780 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf