This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Deja vu all over again

1 reply
Derek Chen-Becker
Joined: 2008-12-16,
User offline. Last seen 42 years 45 weeks ago.

I just saw this article on "mixins" in JavaFX and I couldn't shake the
feeling that I've seen it somewhere before ;)

http://java.sun.com/developer/technicalArticles/javafx/mixin/

Is Scala's inheritance model novel, or are trait-like structures
something that have been around for a while?

Derek

loverdos
Joined: 2008-11-18,
User offline. Last seen 2 years 27 weeks ago.
Re: Deja vu all over again

On Sep 9, 2009, at 24:34, Derek Chen-Becker wrote:

> I just saw this article on "mixins" in JavaFX and I couldn't shake the
> feeling that I've seen it somewhere before ;)
>
> http://java.sun.com/developer/technicalArticles/javafx/mixin/
>
> Is Scala's inheritance model novel, or are trait-like structures
> something that have been around for a while?
>
> Derek

Hi Derek,

This is the oldest reference I know of the trait idea.

@inproceedings{traits82,
author = {Curry, Gael and Baer, Larry and Lipkie, Daniel and Lee,
Bruce},
title = {Traits: An approach to multiple-inheritance subclassing},
booktitle = {Proceedings of the SIGOA conference on Office
information systems},
year = {1982},
isbn = {0-89791-075-3},
pages = {1--9},
location = {Philadelphia, Pennsylvannia, United States},
doi = {http://doi.acm.org/10.1145/800210.806468},
publisher = {ACM},
address = {New York, NY, USA},
}

BR
Christos

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland