Re: reference to 'self' inside a function
On Tuesday, 17 July 2012 at 16:56:17 UTC, angel wrote: I propose to introduce a reference to the current function, much like 'this' in a class method. Call it 'self' or 'thisFunc', or whatever ... What might this be good for ? For implementing recursion in a lambda function. Writing in functional style, one creates many functions, and looking for reasonable names for these functions becomes unnecessarily painful. Good idea ! "self" is a cute keyword, or "lambda" but this could break existing code.
Re: Congratulations to the D Team!
Congrats !
Re: Does D have too many features?
On Monday, 30 April 2012 at 19:24:50 UTC, Walter Bright wrote: On 4/28/2012 11:47 AM, Walter Bright wrote: Andrei and I had a fun discussion last night about this question. The idea was which features in D are redundant and/or do not add significant value? A couple already agreed upon ones are typedef and the cfloat, cdouble and creal types. What's your list? This certainly seems to have become the biggest thread ever! Yes, this is a very interesting discussion, even for a n00b like me ! (and even if i didn't understand everything)