A copy of this work was available on the public web and has been preserved in the Wayback Machine. The capture dates from 2018; you can also visit the original URL.
The file type is application/pdf
.
Lifting the curse of stringly-typed code
[post]
2017
PeerJ Preprints
How often do JavaScript programmers embed structured languages into strings literals? We conduct an empirical investigating mining nearly 500 thousand JavaScript source files from almost ten thousand repositories from GitHub. We parsed each string literal with seven separate common grammars, and found the most common data type that is hidden within the confines of string literals. To reduce the overuse of strings for structured data types, we present a simple static program analyzer that finds
doi:10.7287/peerj.preprints.2723v1
dblp:journals/peerjpre/SantosA17
fatcat:ukytoafiubgf3id3ysmrqpi4hm