Initialization patterns in Dotty
Year: 2018
Type: conference-paper
Abstract: Safe object initialization is important to avoid a category of runtime errors in programming languages. In this paper, we provide a case study of the initialization patterns on the Dotty compiler. In particular, we find that calling dynamic-dispatching methods, the usage of closures and instantiating nested classes are important for initialization of Scala objects. Based on the study, we conclude that existing proposals for safe initialization are inadequate for Scala.
Source: Symposium on Scala
Authors: Fengyun Liu, Aggelos Biboudis, Martin Odersky
Institution: École Polytechnique Fédérale de Lausanne
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W2889845911
