Thread overview
Examples, please?
Jun 11, 2007
Danny
Jun 11, 2007
Mike Parker
Jun 12, 2007
Jason House
Jun 12, 2007
Max Samukha
June 11, 2007
Alright, so I'm trying to figure out how to use D.  But where are the examples?  It seems the only significant amount of documentation is by Digital Mars, describing how to use its cool features.  It may show some source code samples describing the subjects they're covering, but there aren't any complete examples, and so I'm still lost on how to use the language.

I'm one to learn by example, and I'm sure many others are.  Would anyone be willing to create some example programs on using portions of D?  Such as, maybe a windows program?  If needed, I could provide some webspace to host the example files.
June 11, 2007
Danny wrote:
> Alright, so I'm trying to figure out how to use D.  But where are the examples?  It seems the only significant amount of documentation is by Digital Mars, describing how to use its cool features.  It may show some source code samples describing the subjects they're covering, but there aren't any complete examples, and so I'm still lost on how to use the language.
> 
> I'm one to learn by example, and I'm sure many others are.  Would anyone be willing to create some example programs on using portions of D?  Such as, maybe a windows program?  If needed, I could provide some webspace to host the example files.

Assuming you are using DMD, there are several examples that ship with the compiler (dmd/samples/d). You can also find examples/tutorials at DSource.org[1] and Wiki4D[2]. There are also a number of open source projects at DSource[3] that should provide quite a few examples of different D features. There are also some independent sites out there with a good deal of D code, such as Chris Miller's dprogramming.com[4].

[1] http://www.dsource.org/projects/tutorials/wiki
[2] http://www.prowiki.org/wiki4d/wiki.cgi
[3] http://www.dsource.org/projects/
[4] http://www.dprogramming.com/
June 12, 2007
Mike Parker wrote:
> Assuming you are using DMD, there are several examples that ship with the compiler (dmd/samples/d). You can also find examples/tutorials at DSource.org[1] and Wiki4D[2]. There are also a number of open source projects at DSource[3] that should provide quite a few examples of different D features. There are also some independent sites out there with a good deal of D code, such as Chris Miller's dprogramming.com[4].
> 
> [1] http://www.dsource.org/projects/tutorials/wiki
> [2] http://www.prowiki.org/wiki4d/wiki.cgi
> [3] http://www.dsource.org/projects/
> [4] http://www.dprogramming.com/


Assuming Danny's experience isn't unique... except for going to the mailing list to ask... Is there a place that this info should be put so that others can find the examples easily?
June 12, 2007
On Mon, 11 Jun 2007 20:06:49 -0400, Jason House <jason.james.house@gmail.com> wrote:

>Mike Parker wrote:
>> Assuming you are using DMD, there are several examples that ship with the compiler (dmd/samples/d). You can also find examples/tutorials at DSource.org[1] and Wiki4D[2]. There are also a number of open source projects at DSource[3] that should provide quite a few examples of different D features. There are also some independent sites out there with a good deal of D code, such as Chris Miller's dprogramming.com[4].
>> 
>> [1] http://www.dsource.org/projects/tutorials/wiki
>> [2] http://www.prowiki.org/wiki4d/wiki.cgi
>> [3] http://www.dsource.org/projects/
>> [4] http://www.dprogramming.com/
>
>
>Assuming Danny's experience isn't unique... except for going to the mailing list to ask... Is there a place that this info should be put so that others can find the examples easily?

There are lots of D related links on this page http://www.digitalmars.com/d/dlinks.html (Community -> D links)