October 21, 2008
On Tue, 21 Oct 2008 15:46:47 -0200, Ary Borenszweig <ary@esperanto.org.ar> wrote:

>Denis Koroskin wrote:
>> On Tue, 21 Oct 2008 21:18:22 +0400, Ary Borenszweig <ary@esperanto.org.ar> wrote:
>> 
>>> Jarrett Billingsley wrote:
>>>> On Tue, Oct 21, 2008 at 11:14 AM, Lars Ivar Igesund <larsivar@igesund.net> wrote:
>>>>> It was changed when invariant was introduced to D2 as to make a
>>>>> transition
>>>>> path ... I think it was announced too.
>>>>  I can't find anything about it in the changelog, but maybe it was
>>>> buried in the newsgroups somewhere.  W has a habit of not announcing
>>>> important changes until three months later when he mentions it in
>>>> passing in a reply as if everyone knew about it.
>>>
>>> Does anyone know about
>>>
>>> =this() {
>>> }
>>>
>>> ?
>> 
>> Looks like a new/alternative syntax for struct postblitting (works in DMD2.019, too).
>
>Yes, it's exactly that, but I didn't see it announced anywhere.

Isn't it aesthetically repulsive? :)
October 21, 2008
Max Samukha wrote:
> On Tue, 21 Oct 2008 15:46:47 -0200, Ary Borenszweig
> <ary@esperanto.org.ar> wrote:
> 
>> Denis Koroskin wrote:
>>> On Tue, 21 Oct 2008 21:18:22 +0400, Ary Borenszweig <ary@esperanto.org.ar> wrote:
>>>
>>>> Jarrett Billingsley wrote:
>>>>> On Tue, Oct 21, 2008 at 11:14 AM, Lars Ivar Igesund
>>>>> <larsivar@igesund.net> wrote:
>>>>>> It was changed when invariant was introduced to D2 as to make a transition
>>>>>> path ... I think it was announced too.
>>>>>  I can't find anything about it in the changelog, but maybe it was
>>>>> buried in the newsgroups somewhere.  W has a habit of not announcing
>>>>> important changes until three months later when he mentions it in
>>>>> passing in a reply as if everyone knew about it.
>>>> Does anyone know about
>>>>
>>>> =this() {
>>>> }
>>>>
>>>> ?
>>> Looks like a new/alternative syntax for struct postblitting (works in DMD2.019, too).
>> Yes, it's exactly that, but I didn't see it announced anywhere.
> 
> Isn't it aesthetically repulsive? :)

Well, since struct postblitting is performed when you do:

foo = bar;

=this() makes much more sense than this(this)...
October 21, 2008
Denis Koroskin wrote:
> On Tue, 21 Oct 2008 21:18:22 +0400, Ary Borenszweig <ary@esperanto.org.ar> wrote:
> 
>> Jarrett Billingsley wrote:
>>> On Tue, Oct 21, 2008 at 11:14 AM, Lars Ivar Igesund
>>> <larsivar@igesund.net> wrote:
>>>> It was changed when invariant was introduced to D2 as to make a transition
>>>> path ... I think it was announced too.
>>>  I can't find anything about it in the changelog, but maybe it was
>>> buried in the newsgroups somewhere.  W has a habit of not announcing
>>> important changes until three months later when he mentions it in
>>> passing in a reply as if everyone knew about it.
>>
>> Does anyone know about
>>
>> =this() {
>> }
>>
>> ?
> 
> Looks like a new/alternative syntax for struct postblitting (works in DMD2.019, too).

You may want to hold off on that one, we're revamping copy construction.

Andrei
October 21, 2008
On Tue, Oct 21, 2008 at 1:48 PM, ore-sama <spam@here.lot> wrote:
> Jarrett Billingsley Wrote:
>
>> I can't find anything about it in the changelog
>
> http://www.digitalmars.com/d/2.0/features2.html
>

No, in D1, not in D2.  The syntax in D1 used to be invariant {}, without the parens.  The D1 compiler now accepts either the old syntax or the new syntax, and the spec only shows the new syntax, but I don't remember it ever being mentioned.
October 22, 2008
Ary Borenszweig wrote:
> Jarrett Billingsley wrote:
>> On Tue, Oct 21, 2008 at 11:14 AM, Lars Ivar Igesund
>> <larsivar@igesund.net> wrote:
>>> It was changed when invariant was introduced to D2 as to make a transition
>>> path ... I think it was announced too.
>>
>> I can't find anything about it in the changelog, but maybe it was
>> buried in the newsgroups somewhere.  W has a habit of not announcing
>> important changes until three months later when he mentions it in
>> passing in a reply as if everyone knew about it.
> 
> Does anyone know about
> 
> =this() {
> }
> 
> ?

I read diffs of the DDoc with each new D2 release, and it wasn't mentioned there, so it was probably unreleased, yeah. I wouldn't be surprised if there was more stuff like that. :P

-- 
Bruno Medeiros - Software Developer, MSc. in CS/E graduate
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
October 22, 2008
On Wed, Oct 22, 2008 at 9:44 PM, Bruno Medeiros <brunodomedeiros+spam@com.gmail> wrote:
> Ary Borenszweig wrote:
>>
>> Jarrett Billingsley wrote:
>>>
>>> On Tue, Oct 21, 2008 at 11:14 AM, Lars Ivar Igesund <larsivar@igesund.net> wrote:
>>>>
>>>> It was changed when invariant was introduced to D2 as to make a
>>>> transition
>>>> path ... I think it was announced too.
>>>
>>> I can't find anything about it in the changelog, but maybe it was buried in the newsgroups somewhere.  W has a habit of not announcing important changes until three months later when he mentions it in passing in a reply as if everyone knew about it.
>>
>> Does anyone know about
>>
>> =this() {
>> }
>>
>> ?
>
> I read diffs of the DDoc with each new D2 release, and it wasn't mentioned there, so it was probably unreleased, yeah. I wouldn't be surprised if there was more stuff like that. :P

That reminds me ... the foo.(bar) template instantation syntax was supposedly already implemented.  I wonder if that's snuck into this release too?

--bb
October 22, 2008
Bill Baxter wrote:
> On Wed, Oct 22, 2008 at 9:44 PM, Bruno Medeiros
> <brunodomedeiros+spam@com.gmail> wrote:
>> Ary Borenszweig wrote:
>>> Jarrett Billingsley wrote:
>>>> On Tue, Oct 21, 2008 at 11:14 AM, Lars Ivar Igesund
>>>> <larsivar@igesund.net> wrote:
>>>>> It was changed when invariant was introduced to D2 as to make a
>>>>> transition
>>>>> path ... I think it was announced too.
>>>> I can't find anything about it in the changelog, but maybe it was
>>>> buried in the newsgroups somewhere.  W has a habit of not announcing
>>>> important changes until three months later when he mentions it in
>>>> passing in a reply as if everyone knew about it.
>>> Does anyone know about
>>>
>>> =this() {
>>> }
>>>
>>> ?
>> I read diffs of the DDoc with each new D2 release, and it wasn't mentioned
>> there, so it was probably unreleased, yeah. I wouldn't be surprised if there
>> was more stuff like that. :P
> 
> That reminds me ... the foo.(bar) template instantation syntax was
> supposedly already implemented.  I wonder if that's snuck into this
> release too?
> 
> --bb
No.
October 22, 2008
Bill Baxter wrote:
> On Wed, Oct 22, 2008 at 9:44 PM, Bruno Medeiros
> <brunodomedeiros+spam@com.gmail> wrote:
>> Ary Borenszweig wrote:
>>> Jarrett Billingsley wrote:
>>>> On Tue, Oct 21, 2008 at 11:14 AM, Lars Ivar Igesund
>>>> <larsivar@igesund.net> wrote:
>>>>> It was changed when invariant was introduced to D2 as to make a
>>>>> transition
>>>>> path ... I think it was announced too.
>>>> I can't find anything about it in the changelog, but maybe it was
>>>> buried in the newsgroups somewhere.  W has a habit of not announcing
>>>> important changes until three months later when he mentions it in
>>>> passing in a reply as if everyone knew about it.
>>> Does anyone know about
>>>
>>> =this() {
>>> }
>>>
>>> ?
>> I read diffs of the DDoc with each new D2 release, and it wasn't mentioned
>> there, so it was probably unreleased, yeah. I wouldn't be surprised if there
>> was more stuff like that. :P
> 
> That reminds me ... the foo.(bar) template instantation syntax was
> supposedly already implemented.  I wonder if that's snuck into this
> release too?
> 
> --bb

It may have been implemented in some experimental internal release, but I got the impression that the whole idea about changing the template instantiation syntax was dropped altogether, so I don't think that's coming out.

-- 
Bruno Medeiros - Software Developer, MSc. in CS/E graduate
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
1 2
Next ›   Last »