App Inventor is a web-based blocks programming environment that allows people of all ages and experiences to build mobile apps, introducing new programmers to fundamental programming concepts such as variables, conditionals, iterators, and procedures. Past studies however show that programmers do not use procedures, App Inventor’s key means of abstraction for avoiding duplicate code, very often, which could suggest that App inventor programmers, instead of using procedures, merely duplicate their code. This research focused on detecting duplicated event handlers in two datasets of App Inventor code. I found that at least 18% of App Inventor event handlers are duplicates. Surprisingly, over 49% of this code cannot be extracted into a procedure without using the rarely used blocks for manipulating generic components, which could be further preventing App Inventor programmers from using procedures as abstractions. Therefore, more work needs to be done to make programmers more aware of generics and how to use them.

Sun 4 Nov

blocks+-2018-papers
09:00 - 10:00: BLOCKS+ - Limits People Reach & How to Get Past Them at Beacon Hill
blocks+-2018-papers09:00 - 09:05
Talk
Karen H. JinUniversity of New Hampshire
Pre-print
blocks+-2018-papers09:05 - 09:10
Talk
Audrey SeoWellesley College
Pre-print
blocks+-2018-papers09:10 - 09:15
Talk
Paulina HaduongHarvard Graduate School of Education, Karen BrennanHarvard Graduate School of Education
Pre-print
blocks+-2018-papers09:15 - 09:20
Talk
Michelle IchincoUniversity of Massachusetts Lowell, Caitlin KelleherWashington University in St. Louis
Pre-print
blocks+-2018-papers09:20 - 09:25
Talk
Evan W PattonMassachusetts Institute of Technology, Mark ShermanCERT, Michael TissenbaumUniversity of Illinois Urbana-Champaign
Pre-print
blocks+-2018-papers09:25 - 09:40
Other
blocks+-2018-papers09:40 - 10:00
Other