S. Reichhart. Informatikprojekt, University of Bern, (2005)
Abstract
Traits are a well-known simple, but powerful compositional model for
reuse. Although traits already implemented in dynamically typed languages,
they're not yet practically realized in statically typed languages.
Typing traits and adapting the model to these languages is more complex
to achieve. We report on our experience and practical research implementing
traits in C\# 2.0, concerning generics. We show the difficulties
and possible solutions of typing and parameterizing traits in generally,
possible enhancements for statically typed languages as well as adapting
traits to C\# regarding features like overriding and hiding.
%0 Report
%1 Reic05a
%A Reichhart, Stefan
%D 2005
%K SDSeminar Traits
%T A Prototype of Traits for C\#
%U http://www.iam.unibe.ch/~scg/Archive/Projects/Reic05a.pdf
%X Traits are a well-known simple, but powerful compositional model for
reuse. Although traits already implemented in dynamically typed languages,
they're not yet practically realized in statically typed languages.
Typing traits and adapting the model to these languages is more complex
to achieve. We report on our experience and practical research implementing
traits in C\# 2.0, concerning generics. We show the difficulties
and possible solutions of typing and parameterizing traits in generally,
possible enhancements for statically typed languages as well as adapting
traits to C\# regarding features like overriding and hiding.
@techreport{Reic05a,
abstract = {Traits are a well-known simple, but powerful compositional model for
reuse. Although traits already implemented in dynamically typed languages,
they're not yet practically realized in statically typed languages.
Typing traits and adapting the model to these languages is more complex
to achieve. We report on our experience and practical research implementing
traits in {C\#} 2.0, concerning generics. We show the difficulties
and possible solutions of typing and parameterizing traits in generally,
possible enhancements for statically typed languages as well as adapting
traits to {C\#} regarding features like overriding and hiding.},
added-at = {2008-06-20T12:15:49.000+0200},
author = {Reichhart, Stefan},
biburl = {https://www.bibsonomy.org/bibtex/290173cd85850d158f7f56bf1462257bf/gron},
description = {Traits},
file = {Reic05a.pdf:Traits\\Reic05a.pdf:PDF},
institution = {University of Bern},
interhash = {8b93147fa0ccf97712d4fcf7c43e8d26},
intrahash = {90173cd85850d158f7f56bf1462257bf},
keywords = {SDSeminar Traits},
timestamp = {2008-06-20T12:17:59.000+0200},
title = {{A Prototype of Traits for C\#}},
type = {Informatikprojekt},
url = {http://www.iam.unibe.ch/~scg/Archive/Projects/Reic05a.pdf},
year = 2005
}