[scala] Re: [scala-internals] Dynamic object composition

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown [scala] Re: [scala-internals] Dynamic object composition

by Christos KK Loverdos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Roles! This has brought some memories. Back in 1998 I did (my MSc thesis) a compiler for an extension of Java that had first-class roles. The objective was to model context-dependent dynamic behavioural evolution. I even had some basic algebra that described things...

This stuff are always at the back of my head. Context-dependent behaviour will raise sometime to a discipline. At least it has great potential.

BR
Christos

On Jun 18, 2009, at 10:46 AM, Adriaan Moors wrote:

I quite like dynamic object composition. Michael Pradel did his master's thesis on something closely related: his talk. There's also a paper.

cheers,
adriaan

On Thu, Jun 18, 2009 at 2:18 AM, Jorge Ortiz <jorge.ortiz@...> wrote:
A similar effect can be achieved with the Pimp My Library pattern.

--j

On Wed, Jun 17, 2009 at 2:55 PM, Kevin Wright <kev.lee.wright@...> wrote:
As a possible new language feature, How plausible would it be to extend a live instantiated object with a trait, by reusing the "with" keyword that already exists for mixins / static object composition?  This would help greatly in implementing decorators and the DCI pattern


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm for more information.


-- 
 __~O
-\ <,       Christos KK Loverdos
(*)/ (*)      http://ckkloverdos.com