Abstract:Modern programming language type systems help programmers write correct software, and furthermore helps them write the software they actually intended to write. We show how expressive types can be used to encode dimension and units of measure information, which can be used to avoid dimensional mistakes and guide software construction, and how types can even help to generate code automatically, which eliminates a whole class of bugs.
“…By exploiting advances in dependent type systems, it is possible to strengthen the ability of software to reason about dimensional correctness of metrology data and bridge the gap between human-readable semantic specifications of data, and the actual code representing it in a specific programming environment. Conor McBride et al [15] show in their paper how expressive types can be used to encode dimension and units of measurement information, which can be used to avoid dimensional mistakes and guide software construction. An automatic creation of source code is considered to further help to eliminate a whole class of potential bugs in software.…”
“…By exploiting advances in dependent type systems, it is possible to strengthen the ability of software to reason about dimensional correctness of metrology data and bridge the gap between human-readable semantic specifications of data, and the actual code representing it in a specific programming environment. Conor McBride et al [15] show in their paper how expressive types can be used to encode dimension and units of measurement information, which can be used to avoid dimensional mistakes and guide software construction. An automatic creation of source code is considered to further help to eliminate a whole class of potential bugs in software.…”
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.