scholarly journals What is Type-Safe Code Reuse?

1990 ◽  
Vol 19 (342) ◽  
Author(s):  
Jens Palsberg ◽  
Michael I. Schwartzbach

<p>Subclassing is reuse of class definitions. It is usually tied to the use of class names, thus relying on the order in which the particular classes in a program are created. This is a burden, however, both when programming and in theoretical studies.</p><p> </p><p>This paper presents a structural notion of subclassing for typed languages. It is a direct abstraction of the SMALLTALK interpreter and the separate compilation technique of MODULA. We argue that it is the most general mechanism which can be supported by the implementation while relying on the type-correctness of superclasses. In short, it captures type-safe code reuse.</p>

2009 ◽  
Vol 179 (6) ◽  
pp. 639 ◽  
Author(s):  
Evgenii G. Maksimov

2020 ◽  
Author(s):  
Thomas Louis-Goff ◽  
Huu Vinh Trinh ◽  
Eileen Chen ◽  
Arnold L. Rheingold ◽  
Christian Ehm ◽  
...  

A new, efficient, catalytic difluorocarbenation of olefins to give 1,1-difluorocyclopropanes is presented. The catalyst, an organobismuth complex, uses TMSCF<sub>3</sub> as a stoichiometric difluorocarbene source. We demonstrate both the viability and robustness of this reaction over a wide range of alkenes and alkynes, including electron-poor alkenes, to generate the corresponding 1,1-difluorocyclopropanes and 1,1-difluorocyclopropenes. Ease of catalyst recovery from the reaction mixture is another attractive feature of this method. In depth experimental and theoretical studies showed that the key difluorocarbene-generating step proceeds through a bismuth non-redox synchronous mechanism generating a highly reactive free CF<sub>2</sub> in an endergonic pre-equilibrium. It is the reversibility when generating the difluorocarbene that accounts for the high selectivity, while minimizing CF<sub>2</sub>-recombination side-reactions.


Sign in / Sign up

Export Citation Format

Share Document