DIP25 draft available for destruction
Walter Bright
newshound2 at digitalmars.com
Wed Feb 6 22:22:49 PST 2013
On 2/6/2013 10:13 PM, deadalnix wrote:
> It is a given that @properties can't 100M emulate field, but the goal should be
> to close he gap as much as possible.
Ok, why should "as much as possible" be the goal? There are other considerations
- what merit should they have?
For example, I consider having an easily understood mental model of how things
work to be very important. Having the language doing mysterious heroic things
under the hood trying to implement someone else's idea of human intuition
impairs anyone's ability to understand a language.
> It doesn't change anything in many cases. Especially for template alias
> parameters.
Why? foo seems straightforward as a template alias parameter, meaning the
function foo. Alias parameters do not take expressions as arguments - so the
expression rules do not apply.
> It doesn't change the intrinsic complexity of the proposal that
> conflate a function (as first class object), its return value, and the useless
> C/C++ entity that is a function.
Removing an ambiguous case does reduce the intrinsic complexity.
More information about the Digitalmars-d
mailing list