Changes between Version 8 and Version 9 of MixIn
- Timestamp:
- 11/06/12 23:03:48 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MixIn
v8 v9 12 12 * Mixin members will be found at run-time via reflection whereas extension members will not. 13 13 * Mixins create new types. From a VirtualMachine perspective, they are seen as interfaces (since the popular VMs don't support mixins). 14 * Mixins cannot be used from a [wiki:BinaryLibrary binary library]. The source must be included for the compiler. 14 15 15 16 In summary, mixins are more about multiple inheritance among the types you are declaring. Extensions are about adding convenience methods to existing types (regardless of who declared them).