Wiki

Changes between Version 14 and Version 15 of MixIn

Show
Ignore:
Timestamp:
07/29/13 11:58:55 (11 years ago)
Author:
hopscc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MixIn

    v14 v15  
    33== Introduction == 
    44 
    5 Provide a non inheritance based capability for shared/common characteristics and behaviour. 
     5Provide a non inheritance based capability for providing shared/common characteristics and behaviour. 
    66 
    77Basically, selected traits or characteristics and behaviours are described in a special Type called a 'mixin' (analogous to an interface),[[BR]] 
     
    2626 * Mixins cannot be used from a [wiki:BinaryLibrary binary library]. The source must be included for the compiler. 
    2727 
    28 In summary, mixins are more about implementing shared capabilities among the types you are declaring. [[BR]] 
     28In summary, mixins are more about implementing shared capabilities among the (non common ancestor) types you are declaring. [[BR]] 
    2929Extensions are about adding convenience methods to existing types (regardless of who declared them). 
    3030