Re: The Thermopylae excerpt of TDPL available online

2009-11-11 Thread Philippe Sigaud
On Thu, Oct 29, 2009 at 05:38, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Well, if that's a rough rough

Re: The Thermopylae excerpt of TDPL available online

2009-11-03 Thread Michael Rynn
On Thu, 29 Oct 2009 12:23:18 -0500, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Leandro Lucarella wrote: Leandro Lucarella, el 29 de octubre a las 13:21 me escribiste: Andrei Alexandrescu, el 28 de octubre a las 23:38 me escribiste: It's a rough rough draft, but one for the full

Re: The Thermopylae excerpt of TDPL available online

2009-11-03 Thread Andrei Alexandrescu
Michael Rynn wrote: On Thu, 29 Oct 2009 12:23:18 -0500, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Leandro Lucarella wrote: Leandro Lucarella, el 29 de octubre a las 13:21 me escribiste: Andrei Alexandrescu, el 28 de octubre a las 23:38 me escribiste: It's a rough rough draft,

Re: The Thermopylae excerpt of TDPL available online

2009-11-02 Thread Don
Jason House wrote: Don Wrote: Leandro Lucarella wrote: Justin Johansson, el 30 de octubre a las 08:42 me escribiste: Actually, I think I like that better than 'traits'. -Lars I'm in agreement with whoever suggested 'meta' or just about anything else except 'traits'. 'meta', whilst

Re: The Thermopylae excerpt of TDPL available online

2009-11-02 Thread Lars T. Kyllingstad
Don wrote: Jason House wrote: Don Wrote: Leandro Lucarella wrote: Justin Johansson, el 30 de octubre a las 08:42 me escribiste: Actually, I think I like that better than 'traits'. -Lars I'm in agreement with whoever suggested 'meta' or just about anything else except 'traits'. 'meta',

Re: The Thermopylae excerpt of TDPL available online

2009-11-02 Thread Leandro Lucarella
Don, el 2 de noviembre a las 11:14 me escribiste: Jason House wrote: Don Wrote: Leandro Lucarella wrote: Justin Johansson, el 30 de octubre a las 08:42 me escribiste: Actually, I think I like that better than 'traits'. -Lars I'm in agreement with whoever suggested 'meta' or just about

Re: The Thermopylae excerpt of TDPL available online

2009-11-02 Thread Don
Lars T. Kyllingstad wrote: Don wrote: Jason House wrote: Don Wrote: Leandro Lucarella wrote: Justin Johansson, el 30 de octubre a las 08:42 me escribiste: Actually, I think I like that better than 'traits'. -Lars I'm in agreement with whoever suggested 'meta' or just about anything else

Re: The Thermopylae excerpt of TDPL available online

2009-11-02 Thread Don
Don wrote: Lars T. Kyllingstad wrote: Don wrote: Jason House wrote: Don Wrote: Leandro Lucarella wrote: Justin Johansson, el 30 de octubre a las 08:42 me escribiste: Actually, I think I like that better than 'traits'. -Lars I'm in agreement with whoever suggested 'meta' or just about

Re: The Thermopylae excerpt of TDPL available online

2009-11-02 Thread grauzone
Don wrote: Jason House wrote: Don Wrote: Leandro Lucarella wrote: Justin Johansson, el 30 de octubre a las 08:42 me escribiste: Actually, I think I like that better than 'traits'. -Lars I'm in agreement with whoever suggested 'meta' or just about anything else except 'traits'. 'meta',

Re: The Thermopylae excerpt of TDPL available online

2009-10-31 Thread Saaa
Andrei Alexandrescu wrote Saaa wrote: Andrei Alexandrescu wrote: Andrei Alexandrescu wrote: Saaa wrote: Could anybody clear these up for me? p16. Is there anything other than the random values, unsafe about void assignment? I'd put your feedback on my pile of things to do, but now that

Re: The Thermopylae excerpt of TDPL available online

2009-10-31 Thread Andrei Alexandrescu
Mike Parker wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei p.28 line 16: symbols in less bits should be symbols in

Re: The Thermopylae excerpt of TDPL available online

2009-10-31 Thread Saaa
Andrei Alexandrescu wrote Saaa wrote: Andrei Alexandrescu wrote: Andrei Alexandrescu wrote: Saaa wrote: Could anybody clear these up for me? p16. Is there anything other than the random values, unsafe about void assignment? I'd put your feedback on my pile of things to do, but now that

Re: The Thermopylae excerpt of TDPL available online

2009-10-31 Thread Robert Clipsham
Nick Sabalausky wrote: I'm not sure I see the value in being able to rename that. That's like making sure people can rename for. I don't either, that's just a nice side effect for people who dislike whatever name is decided on.

Re: The Thermopylae excerpt of TDPL available online

2009-10-31 Thread Max Samukha
On Thu, 29 Oct 2009 16:07:14 -0500, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Apparently the need was felt strongly enough that a library made it into Boost that does exactly initialization of collections (and vector in particular), in spite of being based on a very questionable

Re: The Thermopylae excerpt of TDPL available online

2009-10-31 Thread Mike Parker
Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei p.28 line 16: symbols in less bits should be symbols in fewer bits

Re: The Thermopylae excerpt of TDPL available online

2009-10-31 Thread bearophile
Max Samukha: While those are important, I am still not totally convinced that dynamic arrays initialized from literals occur often in production code. It remains a matter of opinion. In script-like code literals are common. So when you consider your production code you must count that

Re: The Thermopylae excerpt of TDPL available online

2009-10-31 Thread Andrei Alexandrescu
Mike Parker wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei p.28 line 16: symbols in less bits should be symbols in

Re: The Thermopylae excerpt of TDPL available online

2009-10-31 Thread duser4ever
Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Sure I haven't come across anything that someone else hasn't already pointed

Re: The Thermopylae excerpt of TDPL available online

2009-10-31 Thread Andrei Alexandrescu
duser4ever wrote: Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Sure I haven't come across anything that someone else hasn't

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Andrei Alexandrescu
Saaa wrote: Could anybody clear these up for me? p16. Is there anything other than the random values, unsafe about void assignment? I'd put your feedback on my pile of things to do, but now that you ask, I made this change to the incriminated paragraph: === Such uninitialized

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Andrei Alexandrescu
Andrei Alexandrescu wrote: Saaa wrote: Could anybody clear these up for me? p16. Is there anything other than the random values, unsafe about void assignment? I'd put your feedback on my pile of things to do, but now that you ask, I made this change to the incriminated paragraph:

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Andrei Alexandrescu
Saaa wrote: Andrei Alexandrescu wrote: Andrei Alexandrescu wrote: Saaa wrote: Could anybody clear these up for me? p16. Is there anything other than the random values, unsafe about void assignment? I'd put your feedback on my pile of things to do, but now that you ask, I made this change

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Lars T. Kyllingstad
Leandro Lucarella wrote: Walter Bright, el 29 de octubre a las 16:06 me escribiste: Lars T. Kyllingstad wrote: What I cannot for the life of me understand is WHY the double underscores? What's wrong with just traits? Because D needed the feature, and it wasn't clear what a good syntax for it

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Lars T. Kyllingstad
Don wrote: Lars T. Kyllingstad wrote: Denis Koroskin wrote: On Thu, 29 Oct 2009 15:12:51 +0300, Lars T. Kyllingstad pub...@kyllingen.nospamnet wrote: Jason House wrote: Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Don
Lars T. Kyllingstad wrote: Don wrote: Lars T. Kyllingstad wrote: Denis Koroskin wrote: On Thu, 29 Oct 2009 15:12:51 +0300, Lars T. Kyllingstad pub...@kyllingen.nospamnet wrote: Jason House wrote: Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays,

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread bearophile
Don: traits.compiles(XXX) traits.typeid(TTT) traits.stringof(T) traits.allMembers(T) traits.error(message); Cute. Simpler alternative, the dot isn't necessary: traits_compiles(XXX) traits_typeid(TTT) traits_stringof(T) traits_allmembers(T) traits_error(message); Or, more uniformly (all D

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Danny Wilson
Op Fri, 30 Oct 2009 11:44:08 +0100 schreef bearophile bearophileh...@lycos.com: Simpler alternative, the dot isn't necessary: traits_compiles(XXX) traits_typeid(TTT) traits_stringof(T) traits_allmembers(T) traits_error(message); Not nice. Bad.

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Don
bearophile wrote: Don: traits.compiles(XXX) traits.typeid(TTT) traits.stringof(T) traits.allMembers(T) traits.error(message); Cute. Simpler alternative, the dot isn't necessary: traits_compiles(XXX) traits_typeid(TTT) traits_stringof(T) traits_allmembers(T) traits_error(message); That is

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Lars T. Kyllingstad
Don wrote: Lars T. Kyllingstad wrote: Don wrote: Lars T. Kyllingstad wrote: Denis Koroskin wrote: On Thu, 29 Oct 2009 15:12:51 +0300, Lars T. Kyllingstad pub...@kyllingen.nospamnet wrote: Jason House wrote: Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Jason House
Andrei Alexandrescu Wrote: Jason House wrote: Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! I still think is expressions

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Saaa
Could anybody clear these up for me? p16. Is there anything other than the random values, unsafe about void assignment? p18. What is unsafe about implicit conversion of static to dynamic array? Meaning getting a dynamic array pointing to a stack allocated array. Any

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Justin Johansson
Max Samukha Wrote: On Thu, 29 Oct 2009 13:30:35 -0500, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: It's me as well. The decision didn't go without a fight (I had your viewpoint and Walter didn't). He convinced me with two arguments. One is that 90% of the time you actually

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Leandro Lucarella
Justin Johansson, el 30 de octubre a las 08:42 me escribiste: Actually, I think I like that better than 'traits'. -Lars I'm in agreement with whoever suggested 'meta' or just about anything else except 'traits'. 'meta', whilst perhaps an overloaded keyword, is still much more

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Leandro Lucarella
Lars T. Kyllingstad, el 30 de octubre a las 08:55 me escribiste: Leandro Lucarella wrote: Walter Bright, el 29 de octubre a las 16:06 me escribiste: Lars T. Kyllingstad wrote: What I cannot for the life of me understand is WHY the double underscores? What's wrong with just traits? Because D

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Andrei Alexandrescu
Saaa wrote: Could anybody clear these up for me? p16. Is there anything other than the random values, unsafe about void assignment? I'd put your feedback on my pile of things to do, but now that you ask, I made this change to the incriminated paragraph: === Such uninitialized

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Andrei Alexandrescu
Andrei Alexandrescu wrote: Saaa wrote: Could anybody clear these up for me? p16. Is there anything other than the random values, unsafe about void assignment? I'd put your feedback on my pile of things to do, but now that you ask, I made this change to the incriminated paragraph:

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Don
Leandro Lucarella wrote: Justin Johansson, el 30 de octubre a las 08:42 me escribiste: Actually, I think I like that better than 'traits'. -Lars I'm in agreement with whoever suggested 'meta' or just about anything else except 'traits'. 'meta', whilst perhaps an overloaded keyword, is still

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Andrei Alexandrescu
Jason House wrote: Andrei Alexandrescu Wrote: Jason House wrote: Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! I still think is

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Saaa
Andrei Alexandrescu wrote: Andrei Alexandrescu wrote: Saaa wrote: Could anybody clear these up for me? p16. Is there anything other than the random values, unsafe about void assignment? I'd put your feedback on my pile of things to do, but now that you ask, I made this change to the

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Andrei Alexandrescu
Saaa wrote: Andrei Alexandrescu wrote: Andrei Alexandrescu wrote: Saaa wrote: Could anybody clear these up for me? p16. Is there anything other than the random values, unsafe about void assignment? I'd put your feedback on my pile of things to do, but now that you ask, I made this change

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Jason House
Don Wrote: Leandro Lucarella wrote: Justin Johansson, el 30 de octubre a las 08:42 me escribiste: Actually, I think I like that better than 'traits'. -Lars I'm in agreement with whoever suggested 'meta' or just about anything else except 'traits'. 'meta', whilst perhaps an

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Robert Clipsham
Don wrote: I'm starting to think we need a separate namespace for the CT stuff. D.compiles(XXX) D.typeof(foo) D.stringof(T) D.allMembers(T) That's not bad. Can't be 'D', though, has to look like a keyword. Maybe something like 'traits' instead. In exchange, get rid of the

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Nick Sabalausky
Robert Clipsham rob...@octarineparrot.com wrote in message news:hcg0qr$fc...@digitalmars.com... Don wrote: I'm starting to think we need a separate namespace for the CT stuff. D.compiles(XXX) D.typeof(foo) D.stringof(T) D.allMembers(T) That's not bad. Can't be 'D', though, has

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Pelle Månsson wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Your Hallå Värd! should be Hallå Värld!, to be Swedish. D:

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Ellery Newcomer wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Maybe I haven't been paying attention lately, but shouldn't

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Saaa
Also, no mention about .dup not being a deep dup.

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Saaa
crp p20. 40 words? those where for myself, to check

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Ellery Newcomer
Andrei Alexandrescu wrote: Ellery Newcomer wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Maybe I haven't been paying

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Robert Jacques wrote: On Thu, 29 Oct 2009 00:38:33 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks!

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Tom S
Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Thanks for the excerpt! I've only had the time to give it a brief skim so far, but it's looking

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Lars T. Kyllingstad
Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei It's a very pleasant read, and it looks good. I guess I'll have to buy the book. :) I

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Lars T. Kyllingstad
Andrei Alexandrescu wrote: dsimcha wrote: == Quote from Andrei Alexandrescu (seewebsiteforem...@erdani.org)'s article It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Pelle Månsson
Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Your Hallå Värd! should be Hallå Värld!, to be Swedish. D: Also, I am wondering, why

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread bearophile
Andrei Alexandrescu: http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! So far I've just taken a look, I'll read it when I can. I can see several warnings in red. The look of the text is really nice! Elegant, and the images are good and necessary. Are you going to write a

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Jason House
Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! I still think is expressions are a glaring problem. Somewhere in the text, you use

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Lars T. Kyllingstad
Jason House wrote: Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! I still think is expressions are a glaring problem. Somewhere in the text,

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Denis Koroskin
On Thu, 29 Oct 2009 15:12:51 +0300, Lars T. Kyllingstad pub...@kyllingen.nospamnet wrote: Jason House wrote: Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Lars T. Kyllingstad
Denis Koroskin wrote: On Thu, 29 Oct 2009 15:12:51 +0300, Lars T. Kyllingstad pub...@kyllingen.nospamnet wrote: Jason House wrote: Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings.

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Jason House
Denis Koroskin Wrote: On Thu, 29 Oct 2009 15:12:51 +0300, Lars T. Kyllingstad pub...@kyllingen.nospamnet wrote: I don't think he uses is(typeof(...)) in the text. The code snippets in question are marked Note: normally the code below would not be included..., and I suppose he's

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Denis Koroskin
On Thu, 29 Oct 2009 15:32:51 +0300, Jason House jason.james.ho...@gmail.com wrote: Denis Koroskin Wrote: On Thu, 29 Oct 2009 15:12:51 +0300, Lars T. Kyllingstad pub...@kyllingen.nospamnet wrote: I don't think he uses is(typeof(...)) in the text. The code snippets in question are

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Don
Lars T. Kyllingstad wrote: Denis Koroskin wrote: On Thu, 29 Oct 2009 15:12:51 +0300, Lars T. Kyllingstad pub...@kyllingen.nospamnet wrote: Jason House wrote: Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings.

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Jason House wrote: Andrei Alexandrescu Wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! I still think is expressions are a glaring problem. Somewhere in the text,

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
bearophile wrote: Andrei Alexandrescu: http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! So far I've just taken a look, I'll read it when I can. I can see several warnings in red. The look of the text is really nice! Elegant, and the images are good and necessary. Are you

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Pelle Månsson wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Your Hallå Värd! should be Hallå Värld!, to be Swedish. D:

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Lars T. Kyllingstad wrote: Andrei Alexandrescu wrote: dsimcha wrote: == Quote from Andrei Alexandrescu (seewebsiteforem...@erdani.org)'s article It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Lars T. Kyllingstad wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei It's a very pleasant read, and it looks good. I guess I'll

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread bearophile
Andrei Alexandrescu: I did consider Inconsolata seriously, but I had to reject it (I forgot why; all I can remember was that it was a good reason). A problem with Inconsolata that I have forgotten to tell you is that there isn't a true bold version yet, so the bold characters don't have the

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
bearophile wrote: Andrei Alexandrescu: I did consider Inconsolata seriously, but I had to reject it (I forgot why; all I can remember was that it was a good reason). A problem with Inconsolata that I have forgotten to tell you is that there isn't a true bold version yet, so the bold

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Ellery Newcomer wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Maybe I haven't been paying attention lately, but shouldn't

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Saaa
Andrei Alexandrescu wrote It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Makes me want to read the rest! Will we get the electronic version with the paper

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Leandro Lucarella
Andrei Alexandrescu, el 28 de octubre a las 23:38 me escribiste: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! It looks very nice. A small error in 4.1.7 first code

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Leandro Lucarella
Leandro Lucarella, el 29 de octubre a las 13:21 me escribiste: Andrei Alexandrescu, el 28 de octubre a las 23:38 me escribiste: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Saaa
Also, no mention about .dup not being a deep dup.

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Saaa
Saaa wrote Also, no mention about .dup not being a deep dup. Sorry, should've been attached to my response

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Bill Baxter
On Thu, Oct 29, 2009 at 9:31 AM, Leandro Lucarella llu...@gmail.com wrote: Leandro Lucarella, el 29 de octubre a las 13:21 me escribiste: Andrei Alexandrescu, el 28 de octubre a las 23:38 me escribiste: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Saaa
crp p20. 40 words? those where for myself, to check

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Saaa wrote: Will we get the electronic version with the paper version? I'm not exactly sure how things will roll out. Probably yes. p2. typo: eenlists p9. Is it ok to expect the order of an array expression to be like in foreach ? Maybe mention a[] = b. p11. typo: no(t) palindrome

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Leandro Lucarella wrote: Andrei Alexandrescu, el 28 de octubre a las 23:38 me escribiste: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! It looks very nice. A small error

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Saaa wrote: Also, no mention about .dup not being a deep dup. I've put this on my todo list, but it's difficult. At this point people only know about statements and expressions, so it would be a bit difficult to introduce the subtleties of shallow vs. deep copying. I guess I'll have to do

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Leandro Lucarella wrote: Leandro Lucarella, el 29 de octubre a las 13:21 me escribiste: Andrei Alexandrescu, el 28 de octubre a las 23:38 me escribiste: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Ellery Newcomer
Andrei Alexandrescu wrote: Ellery Newcomer wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Maybe I haven't been paying

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Pelle Månsson
Andrei Alexandrescu wrote: Pelle Månsson wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Your Hallå Värd! should be Hallå

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Ellery Newcomer wrote: Andrei Alexandrescu wrote: Ellery Newcomer wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Maybe I

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Robert Jacques
On Thu, 29 Oct 2009 00:38:33 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei Still reading,

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Leandro Lucarella
Andrei Alexandrescu, el 29 de octubre a las 12:23 me escribiste: Leandro Lucarella wrote: Leandro Lucarella, el 29 de octubre a las 13:21 me escribiste: Andrei Alexandrescu, el 28 de octubre a las 23:38 me escribiste: BTW, it looks like array literals will be dynamic arrays, from the code in

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Robert Jacques wrote: On Thu, 29 Oct 2009 00:38:33 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks!

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Leandro Lucarella wrote: Andrei Alexandrescu, el 29 de octubre a las 12:23 me escribiste: Leandro Lucarella wrote: Leandro Lucarella, el 29 de octubre a las 13:21 me escribiste: Andrei Alexandrescu, el 28 de octubre a las 23:38 me escribiste: BTW, it looks like array literals will be dynamic

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Tom S
Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Thanks for the excerpt! I've only had the time to give it a brief skim so far, but it's looking

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Manuel
Andrei Alexandrescu Wrote: Any feedback is welcome. Thanks! Thanks Andrei, that was an excellent read. Some comments: Page 102, line 23. I'm not a native English speaker, but it seems like you're missing a such in the sentence there is a thing as a Page 116, line 13: shouldn't array

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Tom S wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Thanks for the excerpt! I've only had the time to give it a brief skim so far,

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Max Samukha
On Thu, 29 Oct 2009 13:30:35 -0500, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: It's me as well. The decision didn't go without a fight (I had your viewpoint and Walter didn't). He convinced me with two arguments. One is that 90% of the time you actually want T[], not T[n]. The

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Denis Koroskin
On Thu, 29 Oct 2009 21:59:13 +0300, Max Samukha spam...@d-coding.com wrote: On Thu, 29 Oct 2009 13:30:35 -0500, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: It's me as well. The decision didn't go without a fight (I had your viewpoint and Walter didn't). He convinced me with two

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Leandro Lucarella
Andrei Alexandrescu, el 29 de octubre a las 13:30 me escribiste: Leandro Lucarella wrote: Andrei Alexandrescu, el 29 de octubre a las 12:23 me escribiste: Leandro Lucarella wrote: Leandro Lucarella, el 29 de octubre a las 13:21 me escribiste: Andrei Alexandrescu, el 28 de octubre a las 23:38

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Ellery Newcomer
Andrei Alexandrescu wrote: Ellery Newcomer wrote: Andrei Alexandrescu wrote: Ellery Newcomer wrote: Andrei Alexandrescu wrote: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome.

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Manuel wrote: Andrei Alexandrescu Wrote: Any feedback is welcome. Thanks! Thanks Andrei, that was an excellent read. Some comments: Page 102, line 23. I'm not a native English speaker, but it seems like you're missing a such in the sentence there is a thing as a Page 116, line 13:

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Andrei Alexandrescu
Max Samukha wrote: On Thu, 29 Oct 2009 13:30:35 -0500, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: It's me as well. The decision didn't go without a fight (I had your viewpoint and Walter didn't). He convinced me with two arguments. One is that 90% of the time you actually want

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Walter Bright
Lars T. Kyllingstad wrote: What I cannot for the life of me understand is WHY the double underscores? What's wrong with just traits? Because D needed the feature, and it wasn't clear what a good syntax for it would be. So __traits is a put something out there, make it work, if it proves its

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Leandro Lucarella
Walter Bright, el 29 de octubre a las 16:06 me escribiste: Lars T. Kyllingstad wrote: What I cannot for the life of me understand is WHY the double underscores? What's wrong with just traits? Because D needed the feature, and it wasn't clear what a good syntax for it would be. So __traits

The Thermopylae excerpt of TDPL available online

2009-10-28 Thread Andrei Alexandrescu
It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei

The Thermopylae excerpt of TDPL available online

2009-10-28 Thread Andrei Alexandrescu
It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback is welcome. Thanks! Andrei

  1   2   >