Re: Why D is not popular enough?

2016-08-11 Thread Edward Diener via Digitalmars-d
se areas was very light in my estimation. So whatever D has to offer in these areas, if there are really impovements, is either lacking in the D documentation or does not really exist for me. Edward Diener

Re: Downloadable spec for D version 2

2012-11-22 Thread Edward Diener
On 11/20/2012 10:04 PM, G. wrote: On Tuesday, 20 November 2012 at 02:27:08 UTC, Edward Diener wrote: Is there a downloadable spec for the D version 2 language, in either PDF or HTML format ? The HTML version is in the ZIP with dmd... Thanks !

Re: Downloadable spec for D version 2

2012-11-20 Thread Edward Diener
On 11/20/2012 9:53 AM, Dan wrote: On Tuesday, 20 November 2012 at 02:27:08 UTC, Edward Diener wrote: Is there a downloadable spec for the D version 2 language, in either PDF or HTML format ? I got it from amazon for kindle for $0.99. http://www.amazon.com/D-Programming-Language-Specification

Downloadable spec for D version 2

2012-11-19 Thread Edward Diener
Is there a downloadable spec for the D version 2 language, in either PDF or HTML format ?

Re: What's C's biggest mistake?

2009-12-24 Thread Edward Diener
Walter Bright wrote: http://www.reddit.com/r/programming/comments/ai9uc/whats_cs_biggest_mistake/ This reminds me of the Java idiots when Java first came out. They discussed C endlessly trying to prove Java's supremacy as the new premier language, and either completely ignored that C++ exist

Re: contravariant argument types: wanna?

2009-09-23 Thread Edward Diener
Lutger wrote: Andrei Alexandrescu wrote: ... I am considering discussing all of the above in detail in TDPL, but I am afraid that some refugees from other languages will be shocked. Please, it's much more important to write a good book than to avoid possibly offending the sensibilities of

Re: Type unions in D

2009-09-15 Thread Edward Diener
Justin Johansson wrote: Jeremie Pelletier Wrote: As for the max of an empty set, you can just return zero. Well you could return -1, 99 or any arbitrary integer for that matter; just that it doesn't make sense to do that from a pure maths perspective. Mathematicians have spent centuries tr

Re: How Nested Functions Work, part 1

2009-09-04 Thread Edward Diener
Andrei Alexandrescu wrote: Edward Diener wrote: Andrei Alexandrescu wrote: Edward Diener wrote: Andrei Alexandrescu wrote: Edward Diener wrote: Jarrett Billingsley wrote: On Wed, Sep 2, 2009 at 9:45 AM, Andrei Alexandrescu wrote: Jarrett Billingsley wrote: Well repeat should probably

Re: How Nested Functions Work, part 1

2009-09-03 Thread Edward Diener
Andrei Alexandrescu wrote: Edward Diener wrote: Andrei Alexandrescu wrote: Edward Diener wrote: Jarrett Billingsley wrote: On Wed, Sep 2, 2009 at 9:45 AM, Andrei Alexandrescu wrote: Jarrett Billingsley wrote: Well repeat should probably always take a delegate since most likely, you&#x

Re: How Nested Functions Work, part 1

2009-09-03 Thread Edward Diener
Andrei Alexandrescu wrote: Edward Diener wrote: Jarrett Billingsley wrote: On Wed, Sep 2, 2009 at 9:45 AM, Andrei Alexandrescu wrote: Jarrett Billingsley wrote: Well repeat should probably always take a delegate since most likely, you're going to be passing it a lambda. However I agree

Re: How Nested Functions Work, part 1

2009-09-02 Thread Edward Diener
Jarrett Billingsley wrote: On Wed, Sep 2, 2009 at 9:45 AM, Andrei Alexandrescu wrote: Jarrett Billingsley wrote: Well repeat should probably always take a delegate since most likely, you're going to be passing it a lambda. However I agree that it would be very, very nice to be able to make APIs

Re: Explicitly saying ref or out when invoking a function

2009-08-11 Thread Edward Diener
Ary Borenszweig wrote: In C# when you define a function that takes an out or ref parameter, when invoking that function you must also specify ref or out. For example: void fun(ref uint x, double y); uint a = 1; double b = 2; fun(ref a, b); When I first started using C# it really annoyed me th

Re: Why Java Doesn't Need Operator Overloading (and Very Few Languages Do, Really)

2009-04-18 Thread Edward Diener
Paul D. Anderson wrote: Sounds like someone needs a strong dose of D!! http://java.dzone.com/articles/why-java-doesnt-need-operator The comments bounce between "operator overloading is always bad because you can do idiotic things with it" and "operator overloading is essential because sometime

Re: __FUNCTION__

2009-03-01 Thread Edward Diener
Andrei Alexandrescu wrote: Edward Diener wrote: Andrei Alexandrescu wrote: Edward Diener wrote: I argued for this in the past on this NG but still no one seems to have picked up the idea that a full reflection library for D, supported fully by the compiler, would be a great thing. It would

Re: __FUNCTION__

2009-02-28 Thread Edward Diener
Andrei Alexandrescu wrote: Edward Diener wrote: I argued for this in the past on this NG but still no one seems to have picked up the idea that a full reflection library for D, supported fully by the compiler, would be a great thing. It would also allow RAD programming with D outside of the

Re: __FUNCTION__

2009-02-28 Thread Edward Diener
Andrei Alexandrescu wrote: BCS wrote: Hello Andrei, Nick Sabalausky wrote: Stdout.formatln("{}", __FUNCTION__); I think instead of __FUNCTION__ we'll define a much more comprehensive static reflection facility. for the above case I think __FUNCTION__ is as good as it will get. Define i