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
Programming by voice: Efficiency in the Reactive and Imperative Paradigm
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]

Due to the recent increase of computer programmers, and asa result, sufferers from Repetitive Strain Injury (RSI),programming by voice is becoming an important alternativeto keyboard-based input. Using speech recognition softwareis more difficult for programming tasks than naturallanguage. This is because writing code requires punctuation,symbols, and abbreviations that need to be spelled out. It isalso not limited to writing code, but also includes navigation,editing, and error correction. Therefore, an easy and flexibleway of working with code by voice is therefore. This studyexamines the efficiency of vocal programming in differentparadigms (namely, the imperative and reactive paradigm).We survey which advantages and challenges the reactiveand imperative paradigm have within this field. Bydiscussing if and how the reactive paradigm could beincorporated into future tools and covering the mostcommon challenges, we hope to provide a base for furtherstudies on programming reactively by voice. A brief surveyof tools for vocal programming is carried out. Using TalonVoice, examples written in Java and RxJava, we measure theperformance of the respective paradigms, by recording thenumber of words, syllables, and necessary pauses used whenproducing code vocally. The results vary in vocal load, butboth paradigms have advantages in vocal programming. Theresults also show that reactive programming, thoughgenerally requiring more code for the same tasks asimperative code, does not require the vocal programmer toutter as many words per character as within the imperativeparadigm. The authors discuss the effects of cognitive load inrelation to the presented findings.

Place, publisher, year, edition, pages
2021.
Keywords [en]
Vocal programming, reactive, imperative, RSI, Talon
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:miun:diva-43923OAI: oai:DiVA.org:miun-43923DiVA, id: diva2:1617714
Subject / course
Computer Engineering DT1
Educational program
Software Engineering TPVAG 120/180 higher education credits
Supervisors
Examiners
Available from: 2021-12-07 Created: 2021-12-07 Last updated: 2025-09-25Bibliographically approved

Open Access in DiVA

fulltext(945 kB)1630 downloads
File information
File name FULLTEXT01.pdfFile size 945 kBChecksum SHA-512
359ff5a299052c295757f7126f5e1a6567f59be962bb1abd9c2f601e1272bf2ad25757d6c8ea30dff4f603c22f022682e8e301130637e472c98e6be849e6f60d
Type fulltextMimetype application/pdf

By organisation
Department of Computer and System Science
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 1640 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: 872 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