Changes between Version 1 and Version 2 of Sysel/Ideas
- Timestamp:
- 2010-05-23T09:25:21Z (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Sysel/Ideas
v1 v2 131 131 A 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. 132 132 133 === Explicit interface implementation === 134 135 This 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 133 137 === Output function arguments === 134 138 … … 137 141 === Built-in associative arrays === 138 142 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. 143 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. This feature is present in D, for example.