Proceedings of the ACM on Programming Languages · 2021 · 15 citations · 53 references
ComputingComputer ScienceCompilersProgramming LanguagesSoftware EngineeringCompiler ConstructionFunctional ProgrammingProgramming Language DesignSoftware DesignStatic Code AnalysisType SystemsAffordancesFunctional WritingGrounded Theory AnalysisGrounded Theory Interview AnalysisGrounded Theory InterviewingTool DesignType Analysis
How working statically-typed functional programmers write code is largely understudied. And yet, a better understanding of developer practices could pave the way for the design of more useful and usable tooling, more ergonomic languages, and more effective on-ramps into programming communities. The goal of this work is to address this knowledge gap: to better understand the high-level authoring patterns that statically-typed functional programmers employ. We conducted a grounded theory analysis of 30 programming sessions of practicing statically-typed functional programmers, 15 of which also included a semi-structured interview. The theory we developed gives insight into how the specific affordances of statically-typed functional programming affect domain modeling, type construction, focusing techniques, exploratory and reasoning strategies, and expressions of intent. We conducted a set of quantitative lab experiments to validate our findings, including that statically-typed functional programmers often iterate between editing types and expressions, that they often run their compiler on code even when they know it will not successfully compile, and that they make textual program edits that reliably signal future edits that they intend to make. Lastly, we outline the implications of our findings for language and tool design. The success of this approach in revealing program authorship patterns suggests that the same methodology could be used to study other understudied programmer populations.
53
Constructing Grounded Theory. A Practical Guide Through Qualitative Analysis
QMiP Bulletin · 2006 · 11.9K citations · Full text
Combinatorial sketching for finite programs
Armando Solar-Lezama, Liviu Tancau, Rastislav Bodík et al. · 2006 · 642 citations
Grounded theory in software engineering research
Klaas-Jan Stol, Paul Ralph, Brian Fitzgerald · 2016 · 460 citations · Full text