Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changes between Version 1 and Version 2 of Sysel/Ideas


Ignore:
Timestamp:
2010-05-23T09:25:21Z (11 years ago)
Author:
Jiri Svoboda
Comment:

Add explicit interface implementation

Legend:

Unmodified
Added
Removed
Modified
  • Sysel/Ideas

    v1 v2  
    131131A true inner class is non-static in the sense that any instance of this class implicitly contains a reference to some instance of the outer class. Thus the inner class is constructed in non-static context (in context of an object instance) and the outer object can be referenced via a keyword.
    132132
     133=== Explicit interface implementation ===
     134
     135This allows a class to ''optionally'' specify explicitly the interface from which it is implementing a method. The benefit is that if a class implements two interfaces ''IA'' and ''IB'' both requiring a method ''foo'' with the same name (this is a name conflict), the implementation can be different for each interface. This feature is present in C#.
     136
    133137=== Output function arguments ===
    134138
     
    137141=== Built-in associative arrays ===
    138142
    139 Maps and sets are so commonly used and so immensely useful that it might be worth incorporating into the langauge core. This could bring greater ease of use and optimization opportunities.
     143Maps and sets are so commonly used and so immensely useful that it might be worth incorporating into the langauge core. This could bring greater ease of use and optimization opportunities. This feature is present in D, for example.