On 10/1/12 5:55 PM, Tommi wrote:
On Monday, 1 October 2012 at 21:35:16 UTC, Jonathan M Davis wrote:The question is whether it's worth adding such an attribute to the language, and clearly, most of us think that explicitly using enum suffices whereas Tommi wants such a function attribute.You'd get simpler syntax at the cost of just one lousy new keyword. It's a once in a life time deal! Any takers?
I understand the motivation. We will not consider such a feature for the time being.
Andrei