View mode: basic / threaded / horizontal-split · Log in · Help
April 12, 2012
Re: Video: Generic Programming Galore using D @ Strange Loop 2011
On 2012-04-11 18:23, Andrei Alexandrescu wrote:
> http://www.infoq.com/presentations/Generic-Programming-Galore-Using-D
>
> Andrei

Nice talk. I noted a minor error in the slides. On several occasions you 
check for the "<" operator but then uses the ">" operator in the actual 
body of the function/template.

-- 
/Jacob Carlborg
April 16, 2012
Re: Video: Generic Programming Galore using D @ Strange Loop 2011
11.04.2012 20:23, Andrei Alexandrescu написал:
> http://www.infoq.com/presentations/Generic-Programming-Galore-Using-D
>
> Andrei

27:17
It's valid to pass an empty list. Compilation will fail when T.length = 
1 for 'x[1]'.

Andrei is really looking embarrassed telling this like if he knows it's 
a lie but he has to say it because something forces him to do it... He 
waged somebody it? :)

-- 
Денис В. Шеломовский
Denis V. Shelomovskij
April 16, 2012
Re: Video: Generic Programming Galore using D @ Strange Loop 2011
On 04/11/2012 11:28 PM, Jacob Carlborg wrote:
> On 2012-04-11 18:23, Andrei Alexandrescu wrote:
>> http://www.infoq.com/presentations/Generic-Programming-Galore-Using-D
>>
>> Andrei
>
> Nice talk. I noted a minor error in the slides. On several occasions you
> check for the "<" operator but then uses the ">" operator in the actual
> body of the function/template.
>

I have noticed that too but technically it is correct because if < 
compiles in D, > will compile too. (They are both backed by the same 
opCmp()).

But I agree that it should have been the > operator in the template 
constraint for at least for simplicity.

Ali
April 17, 2012
Re: Video: Generic Programming Galore using D @ Strange Loop 2011
On 4/16/12 10:00 AM, Denis Shelomovskij wrote:
> 11.04.2012 20:23, Andrei Alexandrescu написал:
>> http://www.infoq.com/presentations/Generic-Programming-Galore-Using-D
>>
>> Andrei
>
> 27:17
> It's valid to pass an empty list. Compilation will fail when T.length =
> 1 for 'x[1]'.
>
> Andrei is really looking embarrassed telling this like if he knows it's
> a lie but he has to say it because something forces him to do it... He
> waged somebody it? :)

I think "lie" would be pushing it. The point made is clear albeit I 
rendered it clumsily - static if does not attempt to compile the branch 
not taken.

Andrei
April 17, 2012
Re: Video: Generic Programming Galore using D @ Strange Loop 2011
17.04.2012 7:55, Andrei Alexandrescu написал:
> On 4/16/12 10:00 AM, Denis Shelomovskij wrote:
>> 11.04.2012 20:23, Andrei Alexandrescu написал:
>>> http://www.infoq.com/presentations/Generic-Programming-Galore-Using-D
>>>
>>> Andrei
>>
>> 27:17
>> It's valid to pass an empty list. Compilation will fail when T.length =
>> 1 for 'x[1]'.
>>
>> Andrei is really looking embarrassed telling this like if he knows it's
>> a lie but he has to say it because something forces him to do it... He
>> waged somebody it? :)
>
> I think "lie" would be pushing it. The point made is clear albeit I
> rendered it clumsily - static if does not attempt to compile the branch
> not taken.
>
> Andrei
>

And I even haven't mentioned my point. These videos are great for D 
newbies (and also very good for other bastards like me too) and should 
be listed on dlang.org just like articles because it isn't obvious for a 
newbie to search through the NG for videos (and, maybe, some videos 
supersedes older ones).

It's pity that a video is read-only and it isn't easy to fix slips of 
the tongue like this one. Maybe some notes can be added?

Anyway, these (Andrei's and Walter's) videos are too good to not list 
them on the site.

-- 
Денис В. Шеломовский
Denis V. Shelomovskij
April 18, 2012
Re: Video: Generic Programming Galore using D @ Strange Loop 2011
On Tuesday, 17 April 2012 at 08:00:36 UTC, Denis Shelomovskij 
wrote:
>
> It's pity that a video is read-only and it isn't easy to fix 
> slips of the tongue like this one. Maybe some notes can be 
> added?
>
> Anyway, these (Andrei's and Walter's) videos are too good to 
> not list them on the site.

I've cleaned up the wiki a bit and added them:
http://prowiki.org/wiki4d/wiki.cgi?WhySwitch
April 18, 2012
Re: Video: Generic Programming Galore using D @ Strange Loop 2011
On Wednesday, 18 April 2012 at 18:41:05 UTC, SomeDude wrote:
>
> I've cleaned up the wiki a bit and added them:
> http://prowiki.org/wiki4d/wiki.cgi?WhySwitch

And thank you for doing that.
April 19, 2012
Re: Video: Generic Programming Galore using D @ Strange Loop 2011
On 4/18/12, SomeDude <lovelydear@mailmetrash.com> wrote:
> On Tuesday, 17 April 2012 at 08:00:36 UTC, Denis Shelomovskij
> wrote:
>>
>> It's pity that a video is read-only and it isn't easy to fix
>> slips of the tongue like this one. Maybe some notes can be
>> added?
>>
>> Anyway, these (Andrei's and Walter's) videos are too good to
>> not list them on the site.
>
> I've cleaned up the wiki a bit and added them:
> http://prowiki.org/wiki4d/wiki.cgi?WhySwitch

You could actually add them here and link to it:
http://prowiki.org/wiki4d/wiki.cgi?Videos
I made that page a long while ago but I didn't really know where to
link it from, so I just put it in the first tab I found (The D
Community: http://prowiki.org/wiki4d/wiki.cgi?NeighborHood)
April 19, 2012
Re: Video: Generic Programming Galore using D @ Strange Loop 2011
19.04.2012 4:11, Andrej Mitrovic написал:
> On 4/18/12, SomeDude<lovelydear@mailmetrash.com>  wrote:
>> On Tuesday, 17 April 2012 at 08:00:36 UTC, Denis Shelomovskij
>> wrote:
>>>
>>> It's pity that a video is read-only and it isn't easy to fix
>>> slips of the tongue like this one. Maybe some notes can be
>>> added?
>>>
>>> Anyway, these (Andrei's and Walter's) videos are too good to
>>> not list them on the site.
>>
>> I've cleaned up the wiki a bit and added them:
>> http://prowiki.org/wiki4d/wiki.cgi?WhySwitch

Thank you, SomeDude.

>
> You could actually add them here and link to it:
> http://prowiki.org/wiki4d/wiki.cgi?Videos
> I made that page a long while ago but I didn't really know where to
> link it from, so I just put it in the first tab I found (The D
> Community: http://prowiki.org/wiki4d/wiki.cgi?NeighborHood)

Damn, I didn't know about this page. And it looks like I'm not alone.

D wiki is really a maze for me (or I just don't understand something?). 
It contains lots of outdated info mixed with some up-to-date info. I 
thought that D wiki is only for experienced D developers who know what 
is outdated and what is not, what info does wiki contains and where is 
this info.

So I'd like to see videos on dlang.org.

-- 
Денис В. Шеломовский
Denis V. Shelomovskij
April 19, 2012
Re: Video: Generic Programming Galore using D @ Strange Loop 2011
On Thursday, 19 April 2012 at 09:42:43 UTC, Denis Shelomovskij 
wrote:
>
> D wiki is really a maze for me (or I just don't understand 
> something?). It contains lots of outdated info mixed with some 
> up-to-date info. I thought that D wiki is only for experienced 
> D developers who know what is outdated and what is not, what 
> info does wiki contains and where is this info.

No, it is most certainly for new D users, and that is the 
problem. New users don't know what needs updated. Experienced 
users aren't going to find useful information on the wiki so it 
isn't "vetted" constantly.

Having SomeDude take his inexperience to change the pages in what 
would have helped him is a great contribution.
1 2 3
Top | Discussion index | About this forum | D home