cop

Composite Oriented Programming (COP), .NET 4.0, MEF, and the Oslo Repository

There seems to have been some interest over the past year around COP within the .NET community (ala Qi4j). A few folks have rolled there own COP frameworks (see links below) and it would appear .NET 4.0's Dynamic Dispatch and MEF might have a potential role in any .NET COP framework. On one hand a lot of this would appear to hark back ...

What is the difference between an Abstract Class and a Mixin?

I just found an article on a framework in Java that apparently allows it to support Mixins and something called Composite Oriented Programming (which for all I know might even be the same thing...) I've also heard of/worked with AOP, and I'm not sure how it differs from this either... ...

Anybody using Qi4J

I was reading an InfoQ article on Composite Oriented Programming earlier on: http://www.infoq.com/articles/Composite-Programming-Qi4j I was interested in finding out whether anybody is currently using (or has used) the Qi4j framework at all? How does it compares to using a traditional dependency injection framework such as Spring for ...

Make object dynamically implement an interface in code

I want to make this test pass - anyone got an idea how to do that? public class Something { public string Name {get; set} } public interface IWithId { public Guid Id {get; set} } public class IdExtender { public static Object Extend(object toExtend) { ...? } } public class Tests { [Test] public v...