ACM SIGPLAN Notices · 2010 · 11 citations · 18 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSoftware EngineeringData TypesData-flow AnalysisObject-oriented ProgrammingStatic Code AnalysisType CheckingType SystemsDynamic Type CheckingPrototype EvaluationRuntime Type SystemsStatic Type Checking
Many large software systems originate from untyped scripting language code. While good for initial development, the lack of static type annotations can impact code-quality and performance in the long run. We present an approach for integrating untyped code and typed code in the same system to allow an initial prototype to smoothly evolve into an efficient and robust program. We introduce like types , a novel intermediate point between dynamic and static typing. Occurrences of like types variables are checked statically within their scope but, as they may be bound to dynamic values, their usage is checked dynamically. Thus like types provide some of the benefits of static typing without decreasing the expressiveness of the language. We provide a formal account of like types in a core object calculus and evaluate their applicability in the context of a new scripting language.
18
Contracts for higher-order functions
Robert Bruce Findler, Matthias Felleisen · 2002 · 441 citations
The design and implementation of typed scheme
Sam Tobin-Hochstadt, Matthias Felleisen · 2008 · 313 citations
Robert Cartwright, Mike Fagan · 1991 · 302 citations · Full text
Cormac Flanagan · 2006 · 268 citations · Full text