Re: Progopedia - encyclopedia of programming languages

2009-11-24 Thread Anders F Björklund
JMRyan wrote: I don't understand. You appear to be referring a connonical or otherwise previously publish version fo D. Or perhaps I misunderstood you. I meant the canonical samples/d/hello.d as in the DMD distributions. I didn't use writeln() because it is not available in D1. I added a n

Re: Progopedia - encyclopedia of programming languages

2009-11-24 Thread JMRyan
Anders F Björklund wrote in news:heg2ls$2j6v$1 @digitalmars.com: Thank you for your suggestions below. > Strangely, the Hello World program is not the one that is in D: I don't understand. You appear to be referring a connonical or otherwise previously publish version fo D. Or perhaps I misu

Re: Progopedia - encyclopedia of programming languages

2009-11-24 Thread JMRyan
Ary Borenszweig wrote in news:heg99k$6r...@digitalmars.com: > I think the "For each value in a numeric range, 1 increment" can be > replaced by: > >foreach(i; 0 .. limit) statement > > and the other with > >foreach_reverse(i; 0 .. limit) statement > > but these only work for D2 and

Re: Progopedia - encyclopedia of programming languages

2009-11-24 Thread Nick Sabalausky
"Ary Borenszweig" wrote in message news:heg90n$5h...@digitalmars.com... > Michael Mittner wrote: >>> A K&R type book for D, "The D Programming Language", written by Andrei >> Alexandrescu and published by Addison-Wesley Professional is scheduled >> for publication in May 1010. >> >> D has come a

Re: Progopedia - encyclopedia of programming languages

2009-11-24 Thread Ary Borenszweig
JMNorris wrote: Walter Bright wrote in news:heetio$be1$1 @digitalmars.com: Does someone want to write a D entry? http://progopedia.com/ Okay. I added a D entry. It should be checked for accruacy. I haven't added programming examples yet; I'll add at least the three example types shown

Re: Progopedia - encyclopedia of programming languages

2009-11-24 Thread Ary Borenszweig
Michael Mittner wrote: A K&R type book for D, “The D Programming Language”, written by Andrei Alexandrescu and published by Addison-Wesley Professional is scheduled for publication in May 1010. D has come a long way! It time travelled to the past!

Re: Progopedia - encyclopedia of programming languages

2009-11-23 Thread Anders F Björklund
Andrei Alexandrescu wrote: Okay. I added a D entry. It should be checked for accruacy. I haven't added programming examples yet; I'll add at least the three example types shown on at http://progopedia.com/ (Hello world, Factorial, Fibonacci). Excellent, thanks JMNorris! This is exactly th

Re: Progopedia - encyclopedia of programming languages

2009-11-23 Thread JMRyan
BCS wrote in news:a6268ffd5508cc3a873791a...@news.digitalmars.com: >> I'm not sure which is right, but I don't think they can both be right >> as "x is y" is more like "x == y" in C++ than "*x == *y". I might be >> wrong here; as I am a bit confused about this. > > I think you are correct "is

Re: Progopedia - encyclopedia of programming languages

2009-11-23 Thread BCS
Hello Phil, On the C++ page, I see: Physical (shallow) equality a == b Physical (shallow) inequality a != b Deep equality *a == *b (a and b are pointers) Deep inequality *a != *b (a and b are pointers) On the D page, I see: Physical (shallow) equality x == y Physical (shallow) ineq

Re: Progopedia - encyclopedia of programming languages

2009-11-23 Thread JMRyan
bearophile wrote in news:hef5hl$qr...@digitalmars.com: > This is a similar site, with a lot more things (many programs are done > by downs and me): http://rosettacode.org/wiki/Category:D Wow, all those programs in Rosetta Code and no hello world? :-) It looks like you and downs have done lots

Re: Progopedia - encyclopedia of programming languages

2009-11-23 Thread bearophile
This is a similar site, with a lot more things (many programs are done by downs and me): http://rosettacode.org/wiki/Category:D Another similar site, that recently has lost most of its contents, and now it is rebuilding itself: http://www.codecodex.com/wiki/Category:D This is empty, but I'd lik

Re: Progopedia - encyclopedia of programming languages

2009-11-23 Thread Phil Deets
On Mon, 23 Nov 2009 17:40:06 -0500, JMNorris wrote: Walter Bright wrote in news:heetio$be1$1 @digitalmars.com: Does someone want to write a D entry? http://progopedia.com/ Okay. I added a D entry. It should be checked for accruacy. I haven't added programming examples yet; I'll add at

Re: Progopedia - encyclopedia of programming languages

2009-11-23 Thread Andrei Alexandrescu
JMNorris wrote: Walter Bright wrote in news:heetio$be1$1 @digitalmars.com: Does someone want to write a D entry? http://progopedia.com/ Okay. I added a D entry. It should be checked for accruacy. I haven't added programming examples yet; I'll add at least the three example types shown

Re: Progopedia - encyclopedia of programming languages

2009-11-23 Thread Michael Mittner
> A K&R type book for D, “The D Programming Language”, written by Andrei Alexandrescu and published by Addison-Wesley Professional is scheduled for publication in May 1010. D has come a long way!

Re: Progopedia - encyclopedia of programming languages

2009-11-23 Thread JMNorris
Walter Bright wrote in news:heetio$be1$1 @digitalmars.com: > Does someone want to write a D entry? > > http://progopedia.com/ Okay. I added a D entry. It should be checked for accruacy. I haven't added programming examples yet; I'll add at least the three example types shown on at http://p

Re: Progopedia - encyclopedia of programming languages

2009-11-23 Thread Walter Bright
Walter Bright wrote: Does someone want to write a D entry? http://progopedia.com/ Looks like we've got a D page now! Thanks, JMRyan! http://progopedia.com/language/d/

Progopedia - encyclopedia of programming languages

2009-11-23 Thread Walter Bright
Does someone want to write a D entry? http://progopedia.com/

Re: Progopedia - encyclopedia of programming languages

2009-11-23 Thread Walter Bright
Walter Bright wrote: Does someone want to write a D entry? http://progopedia.com/ Forgot the reddit link: http://www.reddit.com/r/programming/comments/a79yr/progopedia_free_encyclopedia_of_programming/